Use singal-slot connection between MainWindow and SearchDialog