Modal content script

I have script in modelContent view, i want that script can work when modal open, how can i do that?
Was this page helpful?