# Resize modal dialog after opening?

**URL:** <https://forums.creativeclouddeveloper.com/t/resize-modal-dialog-after-opening/5350>\
**Category:** UXP Plugin API\
**Tags:** javascript\
**Created:** [October 15, 2022, 11:29pm UTC](https://forums.creativeclouddeveloper.com/t/resize-modal-dialog-after-opening/5350 "2022-10-15T23:29:51Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Imperator](https://avatars.discourse-cdn.com/v4/letter/i/76d3ee/32.png) [@Imperator](https://forums.creativeclouddeveloper.com/u/Imperator)\
**Post date:** [January 11, 2023, 3:02pm UTC](https://forums.creativeclouddeveloper.com/t/resize-modal-dialog-after-opening/5350/7 "2023-01-11T15:02:30Z")

</div>

This is super interesting. I have very similar requirements for two of my modal windows. Also one should also show tutorial video and another should have full screen size.  
I have not found which monitor is current active one where dialog is shown in core.getDisplayConfiguration({});. Do you have a solution here?

Also I am wondering if you publish your plugin in CC? As far I know such dialogs are not allowed and it should be refused. See my threat here: [Style guide?](http://forums.creativeclouddeveloper.com/t/style-guide/5641)  
“So a modal dialog needs always 40px padding, and dialog buttons at the bottom” otherwise these will not be approved.

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/resize-modal-dialog-after-opening/5350)._
