Move delete button template back to the directive.
Temporaty manually cache the templete for confirmation dialog.