How to make Esc key to minimize a dialog? By default it closes. Should I process KeyEvent or there is a better way?
KeyEvent