Pressing esc should produce the following behavior: - if there is text inside the input, clear the text, trigger a search function & hidelayout unless the minLength says otherwise - if the input is empty trigger hideLayout