implemented base dialogs view