Navigate to the search page when the search field is blank and the button is clicked.