Dialogs and alerts for the 21st century. We recommend using this on all websites and have added our own functionality which means alert() calls the Vex dialog and _alert() will call the native browser alert function if required.
Thank you Hubspot for Vex.
Visit HubSpot website
Visit Vex Dialogs website
/config/config.static.php
$jsPlugins = array(
"all"=>array("dialogs")
);