Angular Material Dialogs And Route Guards For Unsaved Changes
Angular Material dialogs' `afterClosed` returns Observables, perfect for canDeactivate route guards & handling unsaved form changes!
Angular material's dialog's afterClosed method returns an Observables. This makes them work great with canDeactivate route guards for unsaved changes in forms: