class GroupEditorScreen {

    @OnMayClose
    public boolean onMayClose() {
        return !groupEditorWorkflow.isDirty() ||
                Window.confirm(UsersManagementWidgetsConstants.INSTANCE.groupIsDirty());
    }

}