Remove the include once lines for the files at the root of the site.
When editing a page, it looks for the include files at the root of the Dreamweaver site. Since you added the contact form files in a sub directory of your site, it will recreate the include files at the root.