adding three dialogs