public async void BeginEdit(Window parent) { if (RoleEditorWindow.Edit(parent, this.Source)) { this.RefreshProperties(); await this.parent.CommitAsync(); } }