I have a particular page (a map page) that is extensively modified on pagebeforeshow. (probably irrelevant to this problem.) When I reload this page from the browser refresh button, the URL briefly appears with ui-state="dialog" in the URL. The that part is removed from the URL, and the page transitions to whatever page appeared prior to the map page.
The page is linked-to with a parameter in the URL. (?location="me")
Page A index.html, for example user navigates to map page (map/index.html?location="me") user refreshes with browser refresh Map is drawn, and URL briefly shows &ui-state="dialog" at the end. Page transitions to Page A (i.e. where-ever the user was prior to transition to maps page)
I do have one dialog page in my site, but in this case it was never visited. The map page is not a dialog - does not have data-role="dialog".
I have another page (todo page) that is similarly linked with parameters in the URL, but this doesn't occur on that page.
The one difference between the two is that the todo page is linked-to from JS code using $.mobile.changePage(), and the parameters are supplied in the data option, while the map page is linked using an <a> tag.
Is JQM assuming that a page that is linked with parameters in the URL is a dialog?