fixes and tweaks for dialogs: keypress handling, private browsing notification