Remove :id from url in form when duplicate is setup to display form

Also allow to access to @old_record