Change alert/confirm dialogs to jq-ui for exercises page.