   propTypes:
     isLoading: React.PropTypes.bool.isRequired
   getInitialState: ->
-    currentStage: 0
+    currentStage: 0, firstStage: 0
 
   contextTypes:
     router: React.PropTypes.object

    stage = @state.currentStage
    while componentFor(stage + amt)?.shouldSkip?()
      stage += amt
    @setState({currentStage: stage + amt})

  BackButton: ->
    return null if @state.currentStage is 0
    <BS.Button onClick={@onBack} className="back"
      disabled={@state.currentStage is 0}
    >
      Back
    </BS.Button>


      header={<@Title />}
      className={wizardClasses}
      footer={<@Footer />}
    >
      <div className='panel-content'>
        <OXFancyLoader isLoading={isLoading or isBuilding}/>
        {<Component/> unless isLoading}
