# Dialog Modal window

**URL:** <https://community.developer.atlassian.com/t/dialog-modal-window/9123>\
**Category:** Jira Development\
**Tags:** jira-cloud\
**Created:** [September 24, 2017, 3:30pm UTC](https://community.developer.atlassian.com/t/dialog-modal-window/9123 "2017-09-24T15:30:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.kelley](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/brian.kelley/32/36293_2.png) [@brian.kelley](https://community.developer.atlassian.com/u/brian.kelley)\
**Post date:** [September 24, 2017, 3:30pm UTC](https://community.developer.atlassian.com/t/dialog-modal-window/9123/1 "2017-09-24T15:30:53Z")

</div>

The deprecated dialog 1 modal window is able to target a defined web-panel for a Connect add on and display across the entire Jira window without issue.  
In trying to implement a new Dialog2 modal and following the example laid out in the documentation, the dialog window shows within the add on iframe web panel and I am unable to figure out how to either have it shown across the entire window or target a web-panel as I did with the deprecated Dialog version.  
Is there a way of doing this with the Dialog2 api?

---

<div class="post-metadata">

**Author:** ![alexter\_pr](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/alexter_pr/32/33855_2.png) [@alexter\_pr](https://community.developer.atlassian.com/u/alexter_pr)\
**Post date:** [September 24, 2017, 6:03pm UTC](https://community.developer.atlassian.com/t/dialog-modal-window/9123/2 "2017-09-24T18:03:28Z")

</div>

Hey @brian.kelley, i think it’s better to use [dialog]  
([https://developer.atlassian.com/static/connect/docs/latest/modules/common/dialog.html](https://developer.atlassian.com/static/connect/docs/latest/modules/common/dialog.html)) from common modules, which will be displayed across the entire Jira window, you just need to style it according to your needs.  
Also as i know it’s not possible to open Dialog2 outside of an iframe, at least i didn’t manage to solve this 🙂

---

<div class="post-metadata">

**Author:** ![brian.kelley](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/brian.kelley/32/36293_2.png) [@brian.kelley](https://community.developer.atlassian.com/u/brian.kelley)\
**Post date:** [September 24, 2017, 8:26pm UTC](https://community.developer.atlassian.com/t/dialog-modal-window/9123/3 "2017-09-24T20:26:12Z")

</div>

Yeah without an answer to this that was my plan but it seems strange to work with a deprecated module without a path forward post removal from Jira code?
