ENH: Connect metadata summary button to handler

The "Show Metadata Summary" button now links to the metadata summary handler.
There is a lot of replication, would it make sense to decompose the `ssb, valid_ssb = ...` down to the `return`?