added hotkey Esc on modal dialog