if( location != null ){
XElement xdockable = xinvisible.addElement( "dockable" );
xdockable.addString( "key", key );
if( dockable.getParent() == null ){
conversion.getSituation().writeCompositionXML( conversion.convert( dockable.intern() ), xdockable.addElement( "content" ) );
}
XElement xlocation = xdockable.addElement( "location" );
xlocation.addString( "root", location.getRoot() );
xlocation.addString( "mode", dockable.getLocationHistory().getLastMode().getModeIdentifier().toString() );