History storage happens on find next
Fix focus on button clicks