disable the search bar when in edit mode