feat(dialog): add events