         allowEscapeKey: true,
          showConfirmButton: false,
          showCancelButton: true,
          cancelButtonText: "Cancel",
          showCloseButton: true,
          didOpen: () => { Swal.showLoading(); }
        }).then((result) => {
          if (result.dismiss === Swal.DismissReason.cancel ||
              result.dismiss === Swal.DismissReason.close ||
              result.dismiss === Swal.DismissReason.esc) {
            abortIfNeeded('user');
          }
        });
  
        timeoutId