PROV-701 Form table of contents - focus the modal dialog links

Additionally focuses the destination element when it has been scrolled to.