added confirmDelete function to confirm deletion.

added confirmDelete function to confirm deletion of tags.