What would be the best way to add a Pinterest "Pin It" button to the modal window? They have the information here:

http://business.pinterest.com/widget-builder/#do_pin_it_button

But I can't figure out how best to include the code below the image, by the title of the image. If I add the html code, do I need to add the javascript to the modal as well or will the javascript in the main page work?

Not sure if there is way to include the html without hacking up the template.