Changed on-submit validation to ignore dirty property. Clarified example in readme.md