Removing dist files from related files on edit page, refs #1377