[WIP] Custom Permalink UI

References #3920

Todo:

- [x] Needs to work properly on mobile
- [x] Needs temporary JS to show how this should function in the real world