anchor.diff:  
   function createAddEpochControl() {
       var studyId = ${param.study}
  -    var addEpochControl = createAddControl("Add epoch", 'study', studyId)
  +    var addEpochControl = createAddControl("Add epoch", 'study', studyId, 'study')
       SC.asyncLink(addEpochControl, {}, "epochs-indicator")
       $('addEpoch').appendChild(addEpochControl)
   }
  
positive.code:         }, deleteControl.href
      ));
  
      var moveUpControl   = createMoveControl(-1, '&#9668;', 'epoch', epochId)
      SC.asyncLink(moveUpControl,   {}, "epochs-indicator")
      var moveDownControl = createMoveControl( 1, '&#9658;', 'epoch', epochId)
      SC.asyncLink(moveDownControl, {}, "epochs-indicator")
  
      controlBox.appendChild(moveUpControl)
  
negative.code:         clickToEditText: studySegmentA.title
      })
  
      var deleteControl = createDeleteControl('studySegment', studySegmentId, 'study segment')
      Event.observe(deleteControl, "click", deleteHandler(function() {
              return "Are you sure you want to delete the study segment '" + studySegmentA.innerHTML +
                  "'?  This will permanently remove it, all its periods, and its events.  " +
  