refactoring diagramdesigner dialog #2