private void SaveDocument() { try { _document.Save(_path); } catch (Exception ex) { _messages.Add(ex.ToString()); } }