Do not hide and remove search content when changing pages.
In Firefox, for example, when changing pages in the same tab, the search bar is not hidden and the content of the search remains. When changing pages, the search bar is the same. Whether it's hidden or not depends on the focused tab, but the content is the same. Already in Epiphany, the search bar is reset and hidden in any change of page or tab.