Dialog extension: Remove reference to close() method

Fixes gh-6968

The alternative here is to implement the close() method on the page extension, but that seems unnecessary, since the close button link should be handled like any other data-rel=back link.