disableAutoDestroy: false and destroyOnClose : false are not honored (at least not always).
https://github.com/Quernest/mui-modal-provider/blob/master/src/modal-provider.tsx#L165
The onExited should have an options (options.destroyOnClose || disableAutoDestroy) check before calling destroy?