add ui elements for creating snippets