>>2198>Just use. showModal() and let the browser handle the stacking contextThe z-index mess is exactly why I stopped using. show() for anything except simple tooltips. If you're not using the top layer, you're just asking for a headache when some random container gets an overflow hidden. Are you using any specific polyfill to handle the older Safari versions or just letting it fail?