Open a dialog, In the dialog open another page, and in new opened page, back will be invalid

Open a dialog, In the dialog open another page, and in new opened page, back will be invalid

How to reproduce the problem:

  1. Open any dialog, which has a form, for example search a word;
  2. fill in something, and submit the form
  3. submitting will open another page
  4. in the new opened page, click back button, invalid
  5. click again, back to the first requested page
So the forth step has an error, two clicks needed to go back

Browsers:
Firefox, Webkit