       @el.find(".asteroid-frame-complete-#{surfaceIndex}").prop 'checked', true
       @asteroidMarkedInFrame[surfaceIndex] = true
 
+
     switch @state
       when 'asteroidTool'
         tool.setMarkType 'asteroid'
         @doneButton.prop 'disabled', false if @currSighting.annotations.length is @numFrames
+        @deleteButton.prop 'disabled', false
       when 'artifactTool'
         tool.setMarkType 'artifact'
         otherFrames = [0...@numFrames].filter (num) -> num isnt surfaceIndex

    @el.find(".asteroid-visible-#{frameNum}").hide()
    @el.find("#marked-status-#{frameNum}").show().html("Marked!")

  updateIconsForDestroyMark: (frameNum) =>
    @el.find("#number-#{frameNum}").show()
    @el.find(".asteroid-frame-complete-#{frameNum}").prop 'checked', false

    @showFrame(frame)
    @el.attr 'data-on-frame', frame
    @nextFrame.prop 'disabled', if frame is (@numFrames-1) then true else false
    setTimeout =>
      @deleteButton.prop 'disabled', (frame not in (mark.frame for mark in @currSighting.annotations))

  showFrame: (frame_idx) ->
    @el.find("#frame-id-#{i}").closest("div").hide() for i in [0...@numFrames]
