lContent');
                        if (modal && modalContent) {
                            modalContent.innerHTML = ''; // Clear previous content
                            const clone = this.cloneNode();
                            clone.style.maxWidth = '90%';
                            clone.style.maxHeight = '90vh';
                            modalContent.appendChild(clone);
                            modal.style.display = "block";
                            document.body.style.overflow =