Script: Dialog box

To add a dialog box to your script

Dialog box

var ui = SpreadsheetApp.getUi();
ui.alert('Notification message');