It has nothing to do with modals actually. This is because you are using old version of pnotify with bootstrap2 styles and it has no css class assigned for default notify, hence it has no background whatsoever.
Update your pnotify version and set $.pnotify.defaults.styling = "bootstrap3";
Here is updated Fiddle.