leave focus on main window when opening the progress ba