added base control for add/delete/edit entity