Jake Vanderwerf
2026-06-22 715e26a9eb219808d5c899d418e1d596f9318f61
assets/js/concise/Modal.js
@@ -133,9 +133,10 @@
         return;
      }
      if (this.elements.save && window.targetCheck(e, this.elements.save)) {
         this.handleClose();
      } else if (this.elements.close && window.targetCheck(e, this.elements.close)) {
      // if (this.elements.save && window.targetCheck(e, this.elements.save)) {
      //    this.handleClose();
      // } else
         if (this.elements.close && window.targetCheck(e, this.elements.close)) {
         // Additional check: only close if we're the top modal
         if (ModalController.modalStack[ModalController.modalStack.length - 1] === this) {
            this.handleClose();