Unmatched detailed modal link prolem fixed.

I was unwittingly selecting all links on the page rather than only
targeting links within the statement table.