add ui part for delete templates
fix in controller