Was able to test locally that using Blockly.dialog.alert(hint) instead of alert(hint) fixes an error with the existing alerts 