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.
Merge pull request #921 from CyberShadow/esc-tips-and-tricks

Fix closing "Tips and Tricks" with the Escape key