Sort of got modification to work.
Made view for some form attributes.
More declarative style for control definition.