Fixes #293. Fixes issue with modal queuing, multiple modals. adds new behaviors for controlling modal groups