Delete button wrapper

Added an option to give the template designer control over where the delete link is appended.