i want to know how OK button on warning error message should enabled by default to close on single enter key for user, if not possible then close it on Esc press.
Now its working when i press the tab key twice,the focus will come on OK button and if then i press the enter key it will close.