Use a protected method to generate confirm() links

This allows for overriding the the default behaviour of showing a confirm()-dialog.