prevent default on search x click