if (currentElement.contains(start)) {
draggingElement = true;
if (hasSelectedElement()) {
selectedElement.deselect();
}
currentElement.select();
selectedElement = currentElement;
editorDialog.makeUndoableModification
(selectedElement,
shape.getElements().indexOf(selectedElement));
shape.changed();