public boolean doNewProjectDialog2(ProjectDialog.Form form) {
showWaitCursor(true);
ResourcePool resourcePool=form.getResourcePool();
boolean local=form.isLocal();
if (resourcePool!=null) resourcePool.setLocal(local);
CreateOptions opt=new CreateOptions();
opt.setResourcePool(form.getResourcePool());
opt.setLocal(local);
opt.setName(form.getName());
opt.setAddResources(!local);
Project project = projectFactory.createProject(opt);
try {
//createProject above might make a new resource pool, so make sur it is used when copying properties
//projectDialog.getForm().setResourcePool(project.getResourcePool());