jquery/jquery-mobile — pull request #5195 by martenbohlin (2012-10-18 08:14:36+00:00)
Title: Mark dialog as not open when it is closed even if put on its own page

If this is not done it can cause strange behaviour on the next page transition.

No test case is provided because i hade a real hard time reproducing the bad behaviour, it seemed to depend on the timing of the events on the page transition after the dialog is closed.