ExportPlotOptions options,
OperationWithInput<ExportPlotOptions> onClose)
{
if (Desktop.getFrame().supportsClipboardMetafile())
{
new CopyPlotToClipboardDesktopMetafileDialog(
new PlotsPanePreviewer(server, true),
new PlotsPaneClipboard(server),
options,
onClose).showModal();
}