# Ardour and DocumentWindow

**URL:** <https://forum.juce.com/t/ardour-and-documentwindow/58129>\
**Category:** Audio Plugins\
**Created:** [October 2, 2023, 10:22am UTC](https://forum.juce.com/t/ardour-and-documentwindow/58129 "2023-10-02T10:22:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![semiletov](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@semiletov](https://forum.juce.com/u/semiletov)\
**Post date:** [October 2, 2023, 10:22am UTC](https://forum.juce.com/t/ardour-and-documentwindow/58129/1 "2023-10-02T10:22:13Z")

</div>

Hello!  
I have the plugin window and the options window (juce::DocumentWindow) in front of the plugin’s window.  
At Ardour, when I show the document window, the plugin window becomes non-visible (yes, I tried set always on top for the main window).  
At Reaper all OK.  
I understand that it is a host issue, but is there some way to deal with that?

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [October 2, 2023, 1:14pm UTC](https://forum.juce.com/t/ardour-and-documentwindow/58129/2 "2023-10-02T13:14:31Z")

</div>

I would strongly advise against opening secondary windows of any kind in an audio plugin. Instead, for non-modal behaviour, consider adding a ‘drawer’-style side-panel. For modal windows, use a component overlay on your main editor, along with `enterModalState()`.

---

<div class="post-metadata">

**Author:** ![semiletov](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@semiletov](https://forum.juce.com/u/semiletov)\
**Post date:** [October 2, 2023, 2:21pm UTC](https://forum.juce.com/t/ardour-and-documentwindow/58129/3 "2023-10-02T14:21:51Z")

</div>

Side panel is good, but not for my design ☹ I have a stack with instrument slots, with FX button for each, and that FX calls a window with effects for the slot. There are simple no place for a drawer.
