# Modal window behaviour when pop up menu is shown

**URL:** <https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027>\
**Category:** MacOSX and iOS\
**Created:** [December 14, 2010, 1:18pm UTC](https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027 "2010-12-14T13:18:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dheeraj](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Dheeraj](https://forum.juce.com/u/Dheeraj)\
**Post date:** [December 14, 2010, 1:18pm UTC](https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027/1 "2010-12-14T13:18:37Z")

</div>

Hi Jules,

JUCE version : 1.51

OS : 10.6.3

There is an issue with pop up menu. When a pop up menu is shown on any JUCE window and then if clicked on the Menu of JUCE window, both pop up menu and JUCE window menu are shown. Ideally the pop up menu should be dismissed when clicked on JUCE Window Menu.

What could be the issue?

Regards,  
Dheeraj.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 14, 2010, 2:52pm UTC](https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027/2 "2010-12-14T14:52:03Z")

</div>

Pretty sure that’s something I sorted out a long time ago - try the latest tip.

---

<div class="post-metadata">

**Author:** ![Dheeraj](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Dheeraj](https://forum.juce.com/u/Dheeraj)\
**Post date:** [December 15, 2010, 5:18am UTC](https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027/3 "2010-12-15T05:18:00Z")

</div>

I have downloaded latest GIT code and I have attached an image which shows both the pop up menu and juce main menu open at the same time.

regards,  
dheeraj.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 15, 2010, 9:32am UTC](https://forum.juce.com/t/modal-window-behaviour-when-pop-up-menu-is-shown/6027/4 "2010-12-15T09:32:38Z")

</div>

Ok, thanks, I’ll take a look…
