I am sorry, I was unclear. I thought more about this comment ...

```
# Not suppressing Esc allows for stopping the loading of the page as well as closing many custom
# dialogs (and perhaps other things -- Esc is a very commonly used key). There are two reasons we
# might suppress it in other modes. If some custom dialog of a website is open, we should be able to
# cancel hint markers on it without closing it. Secondly, otherwise cancelling hint markers on
# google causes its search bar to be focused.
```

... than the one you based yours of.