dear,
I have understood your query very well. that's why I am explaining to you that the plugin you are using can apply the JS only in three places.
- in the front end
- in the admin section
- and on the login page only
and that's why this will not work on the pop-up.
but for your need, I am trying to check this please have some patience. it would be appreciable.