 
     @resendInvitations pendingInvites, newInvitations
     @sendInvitations newInvitations, pendingInvites
-    @resendInvitationConfirmModal?.destroy()
+    @closeConfirmModals()
 
 
   resendInvitations: (invites, newInvitations) ->

        title    : title
        duration : 5000

      @confirmModal?.destroy()
      @confirmModal = null
      @resendInvitationConfirmModal?.destroy()
      @resendInvitationConfirmModal = null
      @emit 'NewInvitationsAdded'



        <p>Invite other teammates to your team. You can change admin rights for your teammates in the Members tab once they accept your invitation.</p>
        <label>Email</label><label>First Name</label><label>Last Name<span>Admin</span></label>
        """


  closeConfirmModals: ->

    @confirmModal?.destroy()
    @confirmModal = null
    @resendInvitationConfirmModal?.destroy()
    @resendInvitationConfirmModal = null


prepareEmailsText = (pendingInvites) ->
