Changes the findDialog into a custom widget (findAndReplaceWidget)