@Override
  protected void event(final UserRequest ureq, final Component source, final Event event) {
    // default wizard will lissen to cancel wizard event
    super.event(ureq, source, event);

    if (source == nextButton) {
      if (mailTemplate == null) {
        // wizard stops here - no mail template to fill out
        fireEvent(ureq, new MultiIdentityChosenEvent(this.oks));
      } else {
        // next step is the notification mail form
        removeAsListenerAndDispose(mailCtr);
        mailCtr = new MailNotificationEditController(getWindowControl(), ureq, mailTemplate, false);
        listenTo(mailCtr);

        setNextWizardStep(translate("import.title.email"), mailCtr.getInitialComponent());
      }
    } else if (source == backButton) {
      // go back one step in wizard
      setBackWizardStep(translate("import.title.select"), usersForm.getInitialComponent());
    }
  }
 @Override
 protected void event(final UserRequest ureq, final Component source, final Event event) {
   // default wizard will listen to cancel wizard event
   super.event(ureq, source, event);
 }