WAIT: Popup loads its content on page load, not when triggered

I have a popup with an html element that loads a form from an external site (GoHighLevel).

When the page loads, the form is being loaded in the background which can cause issues with render blocking. It would be ideal if there was a way to choose whether the content in the form is loaded when the page loads or when the popup actually appears.