dlg.setFile(f.getName());
dlg.setDirectory(f.getParent());
dlg.hide(); //hide it like the peer implementation do
} catch (Exception e)
{
throw new InputException("Cannot save file", e);
}
} else if (!StringUtils.isNullOrEmpty(inputForm.get(cancelKey)))
{
dlg.hide();
} else