 Button = require 'lab/Button'
 CreateCreditCardForm = require './creditcardcontainer'
 SubscriptionSuccessModal = require 'lab/SubscriptionSuccessModal'
+CardRemoveConfirmModal = require 'lab/CardRemoveConfirmModal'
 
 Icon = require 'lab/Icon'
 

      @setState { hasSuccessModal: yes }


  onModalClose: -> @setState { hasSuccessModal: no }


  onInviteMembers: ->

    { message, onMessageClose, isDirty, onResetForm
      hasCard, submitting, loading, operation, onRemoveCard } = @props

    { hasSuccessModal, hasRemoveModal } = @state

    buttonTitle = switch
      when submitting and operation is 'create' then 'SAVING...'
