Closing a non-modal dialog with escape key

Closing a non-modal dialog with escape key


I'm finding that closing a non-modal dialog by pressing escape closes
other open dialogs too, in some cases but not all. Has anyone else run
into this? Any solutions?
As a guess, maybe non-modal dialogs should cancel that event before
closing.