Added ability to add/edit tags in template2.