LWC custom modal doesn't behave like native one
We have created a new LWC Base Component for modals, called lightning-dialog. It will be available in the Spring'20 release which will hit sandboxes in early January.
This has unfortunately morphed into a larger project involving multiple teams, due to the stacking context issues.