Added dialogs to the UI