allow the escape key  to restore control of the mouse to the user and clicking anything to grab it back for a nice user experience.