Apparently, when I first created a modal window using JQuery and Bootstrap, it appeared behind the background overlay instead.

modal

I had no idea why but Adam Albright put in a good explanation in the Stack Overflow forum stating that the problem has to do with the positioning of the parent containers. You can easily “move” your modal out from these containers before displaying it.

So regardless where your div content for the modal is placed, just make sure you open the first modal by appending it to the body like this:

Then, if you want to open another modal on top of the modal (and so on …), do it like this:

Related Posts Plugin for WordPress, Blogger...