 
       <SelectTopics
         primary={primaryBtn}
+        onSectionChange={@onSectionChange}
         header={<span key='hd'>Add Problems</span>}
         courseId={courseId}
         ecosystemId={ecosystemId}

ChooseExercises = React.createClass

  propTypes:
    planId: React.PropTypes.string.isRequired
    courseId: React.PropTypes.string.isRequired
    hide: React.PropTypes.func.isRequired
    canEdit: React.PropTypes.bool

  mixins: [ScrollToMixin]


  onAddClick: ->
    @setState(showProblems: false)
    @scrollToSelector('.select-topics')

  onSectionChange: ->
    @setState(showProblems: false)

  render: ->
    {courseId, planId, ecosystemId, hide, cancel} = @props
