When using a date range to display a popup window, after the display period expires, the HTML, script, and CSS code for this window remains in the page.
Is it possible to modify the popup so that its status is set to unpublished, thereby preventing the download of unnecessary code and images?