     @setState({})
 
   goBack: ->
+    {courseId} = @context.router.getCurrentParams()
+
     historyInfo = TransitionStore.getPrevious(@context.router)
     url = historyInfo.path or 'dashboard'
     @context.router.transitionTo(url)

          onSubmit={@onSubmit}
          saveButtonLabel="Save"

          isBusy={StudentIdStore.isSaving()}
          studentId={studentId}
        >
          {@renderErrors()}

    </BS.Panel>

  render: ->
    if (@state?.success) then return @renderSuccess()

    {courseId} = @context.router.getCurrentParams()
    studentId = @state?.curId or CourseStore.getStudentId(courseId)

    <BS.Panel bsStyle='primary' className="change-id-panel">
      <BS.Row>
