Modals: Remove d3 dependency.

d3 was used to create SVG elements, because jQuery's 'append' method uses innerHTML, and innerHTML cannot parse SVG, and therefore cannot be used to create SVG elements.
An alternative decision is to use document.createElementNS. This is what is being used now.

Ref #10