Merge pull request #1675 from realitygaps/master

Adding buttons for relatedfiles to file edit page, refs #1377
Herp derp, missing }.. Merge error by me.