Previously, only openSearch() was exported. For symmetry, add closeSearch(). For convenience, also add toggleSearch().