zurb/reveal — Issue #34: Second modal under .reveal-modal-bg
Author: marekkaczkowski
Created: 2011-11-24 15:44:36+00:00
State: open

Hi,

This is the case:

html:
```

...
Form with AJAX submit. If success close modal-1 open modal-2.```
Modal-2 is now under .reveal-modal-bg of modal-1.

Solution:
in reveal:close we need to remove .reveal-modal-bg
```g.delay(b.animationspeed).fadeOut(b.animationspeed, function () {
$(this).remove();
});```