     if incompleteIndex is -1 or stepIndex <= incompleteIndex
       makeStep(task, step, stepIndex)
 
-afters = {}
+afters =
+  'end': (task, step, stepIndex) ->
+    makeAvailableStep(task, {type: 'end'}, stepIndex)
 
 stepMappers = _.flatten([
   _.values(befores)


  exports:
    get: (id) -> @_get(id)


{actions, store} = makeSimpleStore(TaskPanel)

  stepId = step.id or 'default'

  panels = StepPanel.getPanelsWithStatus(stepId)
  step = _.pick(step, 'id', 'type', 'is_completed', 'related_content', 'group')
  task = _.pick(task, 'title', 'type', 'due_at', 'description')

  _.extend({panels, task}, step)

makeUiSettings = (initial) ->
  deepMerge({}, ONE_TIME_CARD_DEFAULTS, initial)
