JQM - page events not firing after dialog opens
===

I have some events on my page (pageshow, pageinit) and every thing is ok the problem starts when I click to open dialog.

    <a data-rel="dialog" id="myDialog" ></a>

In the dialog I close it programmatically like this

     $('.ui-dialog').dialog('close');
and from this moment no page events are firing.

Any suggestions?!