correclty update progress dialog
correct bug in saving project