FolderPanel activePanel = mainFrame.getActivePanel();
AbstractFile selectedFile = activePanel.getFileTable().getSelectedFile(false, true);
// Display local copy dialog only if a file other than '..' is currently selected
if(selectedFile!=null) {
new LocalCopyDialog(mainFrame, new FileSet(activePanel.getCurrentFolder(), selectedFile)).showDialog();
}
}