Moving group editing to angular modal template
Fixed bug in HTML preview for templates