jquery/jquery-mobile — pull request #4430 by gabrielschulhof (2012-05-24 11:03:45+00:00)
Title: [navigation] When the initial page has a dialogHashKey, redirect ...

... to a location that does not

This is accomplished by setting location.href to a value that is stripped of the dialogHashKey. It is done in the hashchange handler and only when the urlHistory stack is empty. It does not seem to result in two history entries (one with a dialogHashKey and one without).