Hide dropdown menu when esc key is pressed.

Fixes #11.