fixed model binding and added validation to edit-item form