Support ESC in search input box