Fix styles in search/replace dialog again

Got slightly broken probably after #3581
Merge pull request #3583 from ussuri/small-fixes-3

Fix styles in search/replace dialog again