Hi there.
Sorry for taking so long to reply – it’s been very busy.
Although I can’t dig too much into another plugin, there might be a solution – or at least a path for you to explore.
When a popup opens, it will trigger a JavaScript event.
`
$(document).on(‘WPDBBPopupOpen’, function (e) {
// you can trigger code here
});
`
I also found this article that might help you: https://developer.ninjaforms.com/codex/loading-the-form-via-ajax/ (although in my opinion that seems far more complex than it should be… and in fact I’d encourage you to look for a better solution.
I had a very quick look at this: https://github.com/wpninjas/ninja-forms/blob/develop/assets/js/front-end/main.js
and saw the ‘restart’ method which looks interesting – https://www.dropbox.com/s/g0zvacqjbjnypv9/Screenshot%202019-02-19%2015.25.14.png?dl=0
but I’d suggest you dig in further, or pay a developer for an hour or 2 to do so for you.
Hope that helps!