data-dismiss="modal" closes all open modal dialog on same page in MVC partial view
Remove data-dismiss="modal"
from the button and Using Jquery you can close a particular modal
.Create a function and have the below code inside the function and call that function on the close button click
$('#modalid').modal('hide');
That works for me. Only Close that modal. No extra function.
<button type="button" class="close" onclick="$('#my_modal').modal('hide');" aria-label="Close">