# More trouble with if statements!

**URL:** <https://forum.kirupa.com/t/more-trouble-with-if-statements/52849>\
**Category:** Uncategorized\
**Created:** [May 28, 2004, 12:31am UTC](https://forum.kirupa.com/t/more-trouble-with-if-statements/52849 "2004-05-28T00:31:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanc](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@seanc](https://forum.kirupa.com/u/seanc)\
**Post date:** [May 28, 2004, 12:31am UTC](https://forum.kirupa.com/t/more-trouble-with-if-statements/52849/1 "2004-05-28T00:31:32Z")

</div>

here is my website in question: [www.wideeyestudios.com/upload\*\*\*\*](http://www.wideeyestudios.com/upload **** )  
ok, there are 3 buttons (the circular ones) the 2nd & 3rd buttons both have dialogues that come up when clicked. i want to set up an if statement or something equivalent that will make the dialogue for one button close when you click another button, so that the 2 dialogues don’t overlap. (you’ll see what i mean by clicking button 2 then button 3). please help me out if u can! :cubs:
