ESC keypress now hides the client window