added confirm_delete function.

Added confirm_delete function to the controller TagManagerController which prevents default (submitting the form) if the user chooses to cancel the deletion.