 
                   toolMethods =
                     onChange: updateAnnotations
-                    onSelect: @selectMark.bind this, mark
+                    onSelect: @selectMark.bind this, annotation, mark
                     onDestroy: @destroyMark.bind this, annotation, mark
 
                   ToolComponent = drawingTools[toolDescription.type]

        mark[key] = value
      @props.classification.update 'annotations'

  selectMark: (mark) ->
    index = @props.annotation.value.indexOf mark
    unless index is -1
      @props.annotation.value.splice index, 1
      @props.annotation.value.push mark

  destroyMark: (annotation, mark) ->
    markIndex = annotation.value.indexOf mark

          tasks[detailTaskDescription.type].getDefaultAnnotation()

      @props.annotation.value.push mark
      @selectMark @props.annotation, mark
      MarkComponent = drawingTools[taskDescription.tools[mark.tool].type]

      if MarkComponent.defaultValues?
