Fix closing "Tips and Tricks" with the Escape key

`this` does not point to the current object when the function is called from an event handler.