void () { checkModel(); WizardStep nextStep = getCurrentStep().onNext(this); if (nextStep == WizardStep.FORCED_GOAL_DROPPED) { cancel(); return; } if (nextStep == WizardStep.FORCED_GOAL_ACHIEVED) { finish(); return; } if (nextStep == null) { nextStep = getNextFor(getCurrentStep()); } changeToStep(nextStep); }