So I'm having a bootstrap modal which pops up when you click on a button. Within that modal there is a button that opens another modal on top of the first one. However the dark background doesn't fall on top of the first modal and instead goes behind it.
Here is first modal:
<div class="modal fade" id="result-modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-body">
Here is my second modal:
<div class="modal fade" id="resultdetail-modal" tabindex="-1" role="dialog" aria-labelledby="resultdetail-modal">
<div class="modal-dialog " role="document">
<div class="modal-content">
<div class="modal-body">