Closing the dropdown menu is now possible with ESC. Space will only open the dropdown, but not close it. So now it's possible to type a space into the search field. Fixes: #863