=== Steps to reproduce
# Go to https://en.m.wikipedia.org/wiki/Barack_Obama
# Tap search and press "a" (now at Barack_Obama#/search)
# Press the browser back button (now at Barack_Obama)
# Press the browser forward button (now at Barack_Obama#/search)
# Tap search and press "a" (now at Barack_Obama#/search)
# Press the browser back button (now at Barack_Obama)
OR:
# Go to https://en.m.wikipedia.org/wiki/Barack_Obama
# Tap search and press "a" (now at Barack_Obama#/search)
# Remove a watchlist star (or add and remove a star).
# Press the browser back button (now at Barack_Obama)
=== Expected results
- Search overlay is dismissed when URL fragment isn't `#/search`
=== Actual results
- Search overlay persists until closed via the cross button or browser refresh
=== Environments observed
**Browser Version: **
- Chromium v64.0.3282.167 (Official Build) Built on Ubuntu , running on Ubuntu 17.10 (64-bit)
- Firefox v58.0.2 (64-bit)
**OS Version:**
- Ubuntu v17.10
**Device Model:**
- Desktop
**Device Language:**
- English
also affecting mobile web: iOS (Safari & Chrome), Android (Chrome)