[Hot Fix] Fix Esc issue on okCancel dialog.

@ussuri  Same issue, `focused` works for random dialogs.

#2590