Generate html for creating/removing notes/snippets