add the 'x' button in the search page