etInfo.target;
    const closeEl = document.getElementById('modal-remove-target-close');
    closeEl.addEventListener('click', function() {
      modalEl.style.display = "none";
    });
    const confirmEl = document.getElementById('modal-remove-target-confirm');
    confirmEl.addEventListener('click', function() {
      closeEl.disabled = true;
      confirmEl.disabled = true;
      const newTargets = currentTargets.filter(t => t !== targetInfo);
      apiSetCrateTargets(crateName, newTargets).then((_) => 