validate add.
js disabled controll edit.
model and test code update.