Select the submit button in design view, then add the Store entire form in cookie behavior to the onClick event of the submit button.
Then in the tag selector along the bottom of the Dreamweaver design view, select the Body tag, and add the Set Entire Form From Cookie behavior to the page onLoad behavior.