converted search widget into a search modal.