How to hide certain widgets

I’m very new to Blueprint, so maybe this is a dumb question. My problem is that I’ve created several of these icon widgets which show material selectors when clicked. What I want is, for example, when clicking on icon A, it should only show material selector A. The other material selectors (B, C, D, etc.) should disappear instead of overlapping on top of each other (as shown in the video below). Thank you!