when i added dialog components, it is showing the errors. How can i fix this without erase React.StrictMode in index.js? I\'ve tried using createRef(). but it is failed, cuz