         <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) ->


    @resendInvitations pendingInvites, newInvitations
    @sendInvitations newInvitations, pendingInvites
    @resendInvitationConfirmModal?.destroy()


  resendInvitations: (invites, newInvitations) ->

        title    : title
        duration : 5000

      @closeConfirmModals()
      @emit 'NewInvitationsAdded'


