This is my code. Even putting this data-backdrop="static" it closes anyway when you click outside.
If you are using Metronic v8.x with Bootstrap 5.x plese refer to the updated documentation.
Now, with Bootstrap 5.x you will need to use data-bs-* attribute format instead of data-*.
Please enter your email and we will send a link to your email to reset your password