added DialogEventHandler scaffolding