fix dismissable overlays