 						source_project_display_name: projectDisplayName
 					})
 					.then () ->
-						$scope._reset(err: false)
+						_reset(err: false)
 						$modalInstance.close()
 					.catch (response)->
 						{ data } = response
-						$scope._reset(err: true)
+						_reset(err: true)
 
 			$scope.cancel = () ->
 				$modalInstance.dismiss('cancel')

					data.name

			$scope.getUserProjects = () ->
				$scope._setInFlight('projects')
				ide.$http.get("/user/projects", {
					_csrf: window.csrfToken
				})

				path = $scope.data.selectedProjectEntity
				name = $scope.data.name
				if !name || !path || !projectId || !projectDisplayName
					_reset(err: true)
					return
				_setInFlight('create')
				ide.fileTreeManager
					.createLinkedFile(name, parent_folder, 'project_file', {
						source_project_id: projectId,
