I haven't used jotform for years but would it work if you made a seperate page containing the form and used placeholder code to load that page into a pop-up layer. I don't think there would be any clashes of id then?