UIU-832 - Close record pane on new search. (#1185)
UIU-832 - Close record pane on new search. (#1185)

* send user to base url if record pane is open.

* observe changeType in state

* fix lint issues

Co-authored-by: Zak Burke <47a3166b05185a812d98c33efe55cc26d8d9129c@users.noreply.github.com>
folio-org/ui-users,folio-org/ui-users