Return to the current search (rather than discarding it) when closing de...

...tail view.