onEnter destroy search box