 	import weave.api.core.IDisposableObject;
 	import weave.api.core.ILinkableContainer;
 	import weave.api.core.ILinkableObject;
+	import weave.api.newDisposableChild;
 	import weave.api.newLinkableChild;
 	import weave.core.LinkableBoolean;
 	import weave.core.LinkableNumber;

			{
				// enable pen
				
				penTool.editMode.value = true;
				_penToolMenuItem.caption = DISABLE_PEN;
				_removeDrawingsMenuItem.enabled = true;
				CustomCursorManager.showCursor(CustomCursorManager.PEN_CURSOR, CursorManagerPriority.HIGH, -3, -22);

			
			graphics.clear();
			
			if (editMode)
			{
				// draw invisible transparent rectangle to capture mouse events
				graphics.lineStyle(0, 0, 0);
