The login dialog is from the azure website, not your app and you can not replace it. Azure does support branding:
https://learn.microsoft.com/en-us/entra/fundamentals/how-to-customize-branding
Note: as iframes are not supported, msal redirects to azure ad login site which after login redirects back to the react app with auth codes.