Fix Modal z-index for compatibility with Overlay

Currently the Overlay is placed in front of the Modal, making it impossible to interact with it.