/**
* Adds users to the invitation list.
*/
private void inviteUsers(Collection<User> invitedUsers) {
Contract contract = (Contract) getDefaultModelObject();
eventDispatcher.publishEvent(new UsersInvited(contract, new ArrayList<User>(invitedUsers)));
}