Truncate table of paths in modal when long

* When selecting many mappings users previously had to scroll a long
way to the bottom to save their changes.
* Instead hide mappings after the first 9, and show a link to reveal
all of them