int position = selectedParent.getChildCount();
if (selectedParent.clones().contains(node.getParentNode())) {
position--;
}
FreeNode r = Controller.getCurrentModeController().getExtension(FreeNode.class);
final IExtension extension = node.getExtension(FreeNode.class);
if (extension != null) {
r.undoableToggleHook(node, extension);
if (MapStyleModel.FLOATING_STYLE.equals(LogicalStyleModel.getStyle(node)))
((MLogicalStyleController)MLogicalStyleController.getController(getMModeController())).setStyle(node, null);
}