display = (IDisplay) Client.instance().getClientGUI().getDesktopManager().getDisplay(onScreenUniqueId);
if (display != null)
{
DataObjectGUIPane dataObjectGUIPane = (DataObjectGUIPane) display.getGUIPane();
if (dataObjectGUIPane.isToCloseAfterSave())
{
OtherJDesktopPane odp = (OtherJDesktopPane) ((SwingDesktopManager) Client.instance().getClientGUI()
.getDesktopManager()).getDesktopPane(display.getDesktopId());
odp.closeAll();