Fixed regression

multiple modals were causing exceptions and the first one would re-appear upon the container reveal.

The cause was that the initial implementation would remove the close handler on the modal event if there multiple ones open. Current implementation accounts for this by maintaining a list of modals.