IDocumentProvider provider = getDocumentProvider();
SaveAsDialog dialog = new SaveAsDialog(shell);
dialog.setOriginalName(input.getName());
dialog.create();
if (dialog.open() == Window.CANCEL) {
if (progressMonitor != null)
progressMonitor.setCanceled(true);
return;
}