Jake Vanderwerf
2026-05-11 ac444cba221832c012c0435fdc8339fe9f37febb
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();