I tested that specifically, it works as expected.  This occurs at the document level and keydown in bubbling, not tunneling. The dialog code will get its chance to handle escape first.

However, can you point me towards the relevant code? It probably should have the `preventDefault` and `stopPropagation` calls.