version 2 - dialog add/edit/del