Add button to delete admin template and fix auto deleting [fixes #88]