I'm using the angular material dialog (v7), we have editable cells in the dialog and in the below page as well we have editable cells like text area/text inputs.
When dialog open if I pressed ctrl+z then undo operation working in both dialog and background page as well
How to disable all controls (like ctrl+z) in the background page when the dialog is opened.
for a live example of an issue, please check the last example in the following page https://material.angular.io/components/dialog/examples