I am using Bootstrap 5 and modal is kinda tricky. Do you happen to know why the dialog is under the backdrop? I've compared the modal example on Bootstrap website and on my code. I haven't changed any positions, just added header color and adjusted padding.
One solution would be using
data-bs-backdrop="false" but I wanted to have a backdrop. Thanks!!