modal window links inject straight into the page and renders chart