add diagrams for dialogs