[Finishes #59216422] Removes edit.js.erb: and uses the new template both for edit and new actions. Uses the same modal for both actions. Using two different modals that used the same form was causing issues with the tabs for searching for references and new references.