Had to change the signature as my entities derive from BaseEntity and
the dali SingularAttribute generator generate the 'id' of the entity as
being a member of the BaseEntity rather than the actual entity in
question.
Added logic so the 'delete' and 'Save cancel' bars above and below the
edit field disappear if the embedded buttons are hidden.

Changed field group to protected although it should really be private.
fixed spelling mistakes.