bootstrap indissable modal
<!-- for bootstrap 5 -->
<!-- Add this below code to your modal div
data-bs-backdrop="static" data-bs-keyboard="false"
-->
<div className="modal fade" data-bs-backdrop="static" data-bs-keyboard="false" id="sendOtpModal" tabIndex="-1" aria-labelledby="sendOtpModalLabel" aria-hidden="true">
...
</div>
stormerthe2nd