Added swap content capability for modal popups. Added is_invitation_only property for groups