> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method _promptUserToSaveLocalEdit

Namespace: [Phoenix.BuilderUIClient](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.BuilderUIClient)\
Assembly: Phoenix.BuilderUIClient.dll

## \_promptUserToSaveLocalEdit()

Show a dialog asking the user if they want to save the current changes or cancel the future operation.

```csharp theme={null}
protected virtual MessageBoxResult _promptUserToSaveLocalEdit()

```

### Returns

[MessageBoxResult](https://learn.microsoft.com/dotnet/api/system.windows.messageboxresult)

Yes if saving should continue, No if changes should be discarded, cancel if it should be cancelled.
