feat(dialog): Adding `resize` and `orientationchange` event handlers into `MDCDialogFoundation`.
feat(dialog): Adding `resize` and `orientationchange` event handlers into `MDCDialogFoundation`.

BREAKING_CHANGE: Adds new method to MDCDialogAdapter:
- `registerWindowEventHandler<K extends WindowEventType>(
      evtType: K, handler: SpecificWindowEventListener<K>): void;`
- `deregisterWindowEventHandler<K extends WindowEventType>(
      evtType: K, handler: SpecificWindowEventListener<K>): void;`
PiperOrigin-RevId: 362353446

material-components/material-web,material-components/material-web