Fail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"MODULE_DOES_NOT_EXIST","message":"Module does not exist: N/ui/dialog.js","stack":[]}I am getting this error message when I try to create a script from a script file. Here is my code:/** * @NApiVersion 2.x * @NScriptType UserEventScript * @NModuleScope SameAccount */ define(['N/record', 'N/ui/dialog'], /** * @param {record} record * @param {dialog} dialog */ function(record, dialog) { /** * Function definition to be triggered before record is loaded. * * @param {Object} scriptContext * @param {Record} scriptContext.newRecord - New record * @param {string} scriptContext.type - Trigger type * @param {Form} scriptContext.form - Current form * @Since 2015.2 */ function beforeLoad(scriptContext) { } /** * Function definition to be triggered before record is loaded. * * @param {Object} scriptContext * @param {Record} scriptContext.newRecord - New record * @param {Record} scriptContext.oldRecord - Old record * @param {string} scriptContext.type - Trigger type * @Since 2015.2 */ function beforeSubmit(scriptContext) { } /** * Function definition to be triggered before record is loaded. * * @param {Object} scriptContext * @param {Record} scriptContext.newRecord - New record * @param {Record} scriptContext.oldRecord - Old record * @param {string} scriptContext.type - Trigger type * @Since 2015.2 */ function afterSubmit(scriptContext) { var stMsg = 'Hello World! Welcome...'; alert(stMsg); function success(result) { console.log('Success with value: ' + result) } function failure(reason) { console.log('Failure: ' + reason) } modDialog.alert({ title: 'Alert', message: stMsg }).then(success).catch(failure); } return { beforeLoad: beforeLoad, beforeSubmit: beforeSubmit, afterSubmit: afterSubmit }; }); Can anyone help me troubleshoot? I am new to NetSuite and to SuiteScript, I just got a two day training and am trying to reproduce some of the basic exercises that our instructor rushed through. Thank you for any guidance.