       {selectProblems}
       {publishButton}
       {deleteLink}
+      <BS.Button aria-role='close' onClick={@onCancel}>Cancel</BS.Button>
     </span>
 
 module.exports = PlanFooter

      TaskPlanActions.delete(id)
      @context.router.transitionTo('dashboard')

  onViewStats: ->
    {id, courseId} = @props
    @context.router.transitionTo('viewStats', {courseId, id, type: 'homework'})

    if deleteable
      deleteLink = <BS.Button bsStyle='link' className='-delete' onClick={@onDelete}>Delete</BS.Button>

    hasExercises = TaskPlanStore.getExercises(id)?.length
    if TaskPlanStore.isHomework(id) and not TaskPlanStore.isPublished(id) and not hasExercises
      publishButton = null
      selectProblems = <BS.Button 
        bsStyle='primary' 
        className='-select-problems'
