display snippets in dialogs