This widget is designed to be a dropin replacement for alert()
Just include the widget.alert.js file and all of your JS alerts are now Dialog's
Source code
Show me an Alert Test Again Test Old Alert