Add master-detail flow for groups