Using $.mobile.changePage to open a dialog on page load

Using $.mobile.changePage to open a dialog on page load

Our web app, http://m.goba.mobi, uses dialogs for various settings screens. In our current situation we're acting upon an option a user clicked in an email. We'd like for a dialog to open when the page loads. We're using  $.mobile.changePage to trigger the load, and the page does indeed load. The problem is that the dialog is missing the close button normally found in the top left corner.

Is there a trick to opening a window programmatically and still keeping the close button? We're going to try passing in the [from,to] array method next but I wanted to post here in the meantime to get the question started.