raise the mainWindow to top after select directory