Add more field in createModel()
Remove unused function and comment.
Add isDirty flag and make Save disabled in default.