fix focus issues in popups and the search icon