add group type to modals