add event when cancel search