user32: edit: Improve handling of WM_KEYDOWN VK_ESCAPE in a dialog mode.