Refresh on Lightbox Close

The URL for a dynamic page isn’t working when hitting the close button on a lightbox. Am I missing a step?