code: function (type, message, title) {
          if (!title) {
              title = message;
              message = undefined;
          }
  
          var opts = $.extend(
              {},
              abp.libs.sweetAlert.config['default'],
              abp.libs.sweetAlert.config[type],
              {
                  title: title,
                  text: message
              }
          );
  
          return $.Deferred(function ($dfd) {
              sweetAlert(opts).then(function () {
                  $dfd.resolve();
              });
          });
      }
docs: /* MESSAGE *************************************************