adding dialogs