center progress dialog relative to main window