I am using Angular 10 Material Dialog which has two buttons:
Angular 10 Material Dialog
Now when the user hits Save
Save