Added modal dialogue, and used it for different invitations for user