private Dock getDockInternal() {
		for (DockLayoutNode child : mChildren) {
			if (child instanceof DockContainer) {
				return (Dock) ((DockContainer) child).getParent();
			} else if (child instanceof DockLayout) {
				Dock dock = ((DockLayout) child).getDockInternal();
				if (dock != null) {
					return dock;
				}
			}
		}
		return null;
	}