fixed nullPointerException in UploadProjectDialog