Refine search/filter field close behavior
This MR resolves two bugs with regards to the behavior of hiding the search/filter field and its toolbar:
- Hitting the escape key does not close it when it has focus. Fixed now.
- When it's closed, it retains focus even though it's hidden. Now focus jumps to the main content view, since that's probably what the user wants to interact with next.