added ability to switch among global modals after setup per #463 @skivvies