Validation and modal dialog working in simulator.

Form content is saving to local storage, according to Chrome dev tools.