Navigation: Add to history without modifying the location.hash when history is turned off
Dialog: Retreat in the urlHistory stack when closing with history disabled. Fixes #5465.
Functional Tests: Hashchange: Turn off history via query string "no-history=true"