並前往https://dev.to/rexebin/material-ui-dialog-provider-render-modal-on-demand-and-deal-with-asynchronous-state-3mff