DomainGroupModelView group = ev.getResponse();
// destination depends on whether org allows immediate creation of groups
CreateUrlRequest urlRqst = !group.isPending() ? new CreateUrlRequest(Page.GROUPS, group.getShortName())
: new CreateUrlRequest(Page.DISCOVER, "");
eventBus.notifyObservers(new UpdateHistoryEvent(urlRqst));
// tell the user what just happened
eventBus.notifyObservers(new ShowNotificationEvent(new Notification(group.isPending() ? // \n
"Your group has been submitted to an organization coordinator for approval"
: "Your group has been successfully created")));