You can make an overlapping event that toogle the widget visibility, it’s the easiest that comes to mind.