Fix bug with searchbox keyboard handler

This typo caused a bug where ESC did not leave the Vim INSERT mode.
Merge pull request #1284 from pthulin/searchbox-issues

Fix bug with searchbox keyboard handler