Tidy up URL handling of sessions
Fix styling of characters so they don't get cut off
Clear modal dialogs when navigating