yes, since the trigger code is hand edited it will no longer translate properly by Dreamweaver. the code change to the trigger should only be made once the email behavior is in place znd you will no longer need to edit it.
if you need to edit it after making the code change, you will need to revert the trigger code to the origianl:
if (isset($_POST["submit"])) {
edit the behavior, then change the trigger code again.