You can press ctrl+k or esc to close the search dialog.

Posts