private boolean saveIfDirty(IntegrationEntity e) {
Editor page = (pages != null ? pages.findOpenPage(e) : null);
if (page != null && page.isDirty()) {
try {
page.save();
} catch (SaveEditorException ex) {
pages.openPage(e);
ErrorLog.attention(AllLocationsTester.class, "Failed to save the " +
e.getEntityType().getDisplayName() + " \"" + e.getName() + "\".", ex);
return false;