How to prevent duplicate forms when using browsers back and forward button.