Added unload event to remove search overlay, so it is not display when back button is used