Stacking Buttons

Is there a way to make the butons under another GUI element to not respond to click?
I have a toolbar of buttons on the bottom side of the game window and if I spawn another window over them those buttons are still clickable and the worst thing is if i have a button in the popup window over another button from the underneath gui elements is not working.

you could display a label over the button and hide it when you want the button to be useable. I used something like this to check if the user has typed in a correct username when creating an account.