dialogs - enter for ok esc to cancel