add the editting dialog