Allow post-confirm buttons to set an onsubmit to override the confirm behaviour.

E.g., once the user confirms, run this JS function as opposed to POSTing to the provided href.