[bug] Better event handler for the <a confirm="..."/> tags.

This fixes a bug with IE 8 where the return false was not being respected, because it was inside an abstract event.