Prevent an overlay to load when another overlay is loading