This PR forces not to use the customized hotkeys for OK and CANCEL as they can be set as input characters in text input dialog.
ESC will always be forced as a CANCEL hotkey.
ENTER will always be forced as an OK hotkey only for the single-line text.
Also the input of a new line (by pressing Enter key) is implemented for the multi-line texts.
This PR forces not to use the customized hotkeys for OK and CANCEL as they can be set as input characters in text input dialog. ESC will always be forced as a CANCEL hotkey. ENTER will always be forced as an OK hotkey only for the single-line text.
Also the input of a new line (by pressing Enter key) is implemented for the multi-line texts.