Refactor for a decoupled dispath of abstract dialog click events.