private void OnCreateTaskWizardViewModel(IKernel k, TaskWizardViewModel o) { o.Closed += (s, e) => { k.ReleaseComponent(o); }; }