When ESC, the search area must be closed