if (!isInnerPanelClear()) {
MessageBox.showWarning(MessageBox.W_NOT_CLOSE_EDITING);
} else {
try {
//Попытка найти текущее заболевание
DiseaseLocal selectedDisease = selectedDiseaseNode != null ? selectedDiseaseNode.getDelegate() : null;
DialogQuickInput dlg = new DialogQuickInput(MainWindow.mainWindow, emcLocal, selectedDisease, getAuditManager());
dlg.setVisible(true);
if (dlg.getDlgResult() == ModalDialog.DLG_OK && dlg.getResult() != null) {
DisSerDiagAuditChunk result = dlg.getResult();
// AuditFrame auditDlg = AuditFrame.getDialog();
// auditDlg.showMe(result.auditDetailsList);
getAuditManager().needDSA(new AuditList(result.auditDetailsList));
ClientNode root = (ClientNode) treeEMC.getModel().getRoot();
DiseaseLocal newDisease = new DiseaseLocal(emcLocal, result.diseaseDetails, getAuditManager());
EmcTreeNode findNode = root.findNode(newDisease);
boolean needAddToEmc = false;
if (findNode != null) {
selectedDisease = (DiseaseLocal) findNode.getDelegate();
} else {