       name: props.name
       display: init
       options: @optionList(props)
-      # updating: false
-      # loading: true
+      updating: false
+      loading: true
   
   componentWillReceiveProps: (props) =>
     @props = props
     display = @state.display
     display = 'noselect' if !@state.editing && display == 'select' && props.name
 
-    # @setState loading: false, display: display, options: @optionList(props), name: props.name
+    @setState loading: false, display: display, options: @optionList(props), name: props.name
 
   editGoal: =>
     @setState editing: true, display: 'select'

    if goalId != ' '
      goal = _.find @props.goals, (goal) -> goal.id.toString() == goalId

    # @setState updating:true, () => 
    #   @props.listener(goal).error(() => @setState updating: false).done(() => @setState updating: false) if @props.listener and goal
    #   @setState display: 'noselect'

  render: ->
    goal = ""

    else
      goal = `<div onClick={this.editGoal}>{this.state.name || 'N/A'}</div>`

    monitor = []
    if @state.updating || @state.loading
      monitor.push `<Spinner />`
      goal = []

    `<div>{monitor}{goal}</div>`

  optionList: (props) =>
    return [] if !props.goals
