No, you will need to have the URL which generates the block with the form and "pass" this URL to the popup JS function like loadDynamicPopupBlock(iBlockID, sUrl).