mainWindow [ProjectView]:
Store a reference to the main window as "owner" parameter for dialogs.