Hide keyboard when search view is closed.