Avoid opening multiple overlays.