Dismiss keyboard when the user taps out of the search box