Fixed overlay file search

Fixed overlay file dialog so that the functionality and image preview
scaling matches that of the histogram dialog.