Trap the Escape key and use it to close the focus window (if open).