window: Properly check for Ctrl+F

Before pressing just F will open the search bar because the modifiers
are not checked.
window: Hide search bar on Escape
window: Clear search text when closing search bar