private Container getRelativeAncestorContainer(Dockable dockable) {
		Container compoundAncestor = DockingUtilities
				.findCompoundAncestorContainer(dockable);
		if (compoundAncestor != null) {
			return compoundAncestor;
		} else {
			return dockingPanel;
		}
	}