fix searchbar dismiss issues