Dialog values not getting saved after updating dialog fields from the sling model
I am uploading the JSON. Based on this JSON other components fields are getting update. When I am opening the dialog values are coming from the uploaded JSON, which is correct . if I am changing dialogs value and saving the dialog , then again on the page values are coming from the JSON.
Requirement is dialog values should get update from the JSON and if user wants to change the dialog value , they can change as well. Both the cases should work.