[Dialog] Add the aria-modal="true" by default
- [x] I have followed (at least) the PR section of the contributing guide.
The Dialog component is implemented as a modal dialog, but it was missing the aria-modal="true". This PR adds it by default, but also adds the option for people to remove it if for some reason they need to override it. This makes the component compatible with SC 4.1.2
Netlify deploy preview
https://deploy-preview-44118--material-ui.netlify.app/
Bundle size report
Details of bundle changes (Toolpad) Details of bundle changes
Generated by :no_entry_sign: dangerJS against 6eeed6009889093d9e81316a8fdbaf079e5dc664
Can we please already test it somewhere? Thanks. :)
@abdermaiza v6.1.5 has just been released and includes this improvement
It seems good, now !