Add ability to cancel simulation and position the progress dialog relative to MainFrame