added hotkey ESC for form toggle