Delay loading of dependency graph until it is shown.

When the modal is shown, then we set the "src" attribute
of the iframe, which causes the browser to load the content.
We only do this the first time the modal is shown, because
the src will be the same for any given page. Fixes GH #1179.