code: function alert() {
              var assign;
  
              var args = [], len = arguments.length;
              while ( len-- ) args[ len ] = arguments[ len ];
              var text = args[0];
              var title = args[1];
              var callbackOk = args[2];
              if (args.length === 2 && typeof args[1] === 'function') {
                (assign = args, text = assign[0], callbackOk = assign[1], title = assign[2]);
              }
              return new Dialog(app, {
                title: typeof title === 'undefined' ? defaultDialogTitle() : title,
                text: text,
                buttons: [{
                  text: app.params.dialog.buttonOk,
                  bold: true,
                  onClick: callbackOk,
                  keyCodes: keyboardActions ? [13, 27] : null,
                }],
                destroyOnClose: destroyOnClose,
              }).open();
            }
docs: Shortcuts