Delay loading of dependency graph until link is clicked

When the dependency graph modal is shown, we set the "src"
attribute on the iframe, which causes the browser to load the
content.  We only do this the first time the modal is shown,
since the "src" is always the same for a given page.

Fixes #1179.