A Javascript class that turns anchors and buttons into ConfirmationButtons, which asks for a confirmation before submiting an action.