anchor.diff:  			if (addTriggerProgress.isInProgress) {
   				viewModel.triggerEditCancelled();
   			}
  -			
  +
   			viewModel.selectedTriggerType = triggerType;
   			$location.search("trigger_type", triggerType.urlParameterValue);
   			viewModel.triggerSelected(null);
  
positive.code: 	viewModel.deleteTrigger = function(trigger) {
  		var index = _.indexOf(viewModel.selectedTriggerType.triggers, trigger);
  		viewModel.selectedTriggerType.triggers.splice(index, 1);
  
  		viewModel.triggerSelected(null);
  	};
  
  	viewModel.addTriggerSelectedAtIndex = function(index) {
  
negative.code: 		if (!triggerType) {
  			triggerType = _.first($scope.triggerTypes);
  		}
  
  		viewModel.triggerTypeSelected(triggerType);
  	}
  
  