ment.getElementById('modal-remove-version-confirm');
    confirmEl.addEventListener('click', function() {
      closeEl.disabled = true;
      confirmEl.disabled = true;
      apiRemoveCrateVersion(version.index.name, version.index.vers).then((_) => {
        window.location.reload();
      }).finally(() => {
        closeEl.disabled = false;
        confirmEl.disabled = false;
      });
    });
  }

  function openAddOwner(crateName) {
    const modalEl = document.getElementById('modal-add-owner');
    mod