Im having this issue where i want to call a JS script to appear in a modal.
The problem is that my JS load is in the head and since it cant find the div active it doesnt show, and when i invoke the modal then the js doesnt load anymore.
So i want to be able to call the JS at the same time when the modal opens.
The work around for now is to set the block as initial appearance so it the js will load, and then it will be already loaded when its called again.
How can i do to force the JS to load only after it has a place to go to?
Thanks for your help