adding and designing dialogs