Trigger search on CTRL + K or CTRL + P
Hitting the search icone or triggering the keyboard shortcut opens up a modal view and expands a search box above the main menu, as on Stackoverflow.
Hiting Escape
key closes the modal and reduces the search bar