       # .always ->
       #   console.log "Always"
       #   return
+
+  setTranscribeSubject: (key, transcribe_id) ->
+    marks = @state.marks
+    marks[key].transcribe_id = transcribe_id
+    @setState marks: marks
 
   disableMarkButton: (key) ->
     marks = @state.marks

Classification                = require '../models/classification'

WORKFLOW_ID = '54b82b4745626f20c9020000' # marking workflow

ImageSubjectViewer_mark = React.createClass # rename to Classifier
  displayName: 'ImageSubjectViewer_mark'

        subject_id:  classification.subject_id,
        workflow_id: classification.workflow_id, 
        annotations: classification.annotations 
      }, )
      .done (response) =>
        console.log "Success" #, response._id.$oid
        @setTranscribeSubject(key, response._id.$oid)
        @enableMarkButton(key)
        return
      .fail =>
