Thank you! This worked perfectly; the only change I needed to make was to target .modal-content versus ‘.modal-body’ to inject the e.dataTarget.link value into the script that is loaded into the modal.

We will definitely be buying a CanvasJS license now that this proof-of-concept works!