OverlayClose bug fix