# Change propery like background of Confirmation Box

**URL:** <https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [March 1, 2024, 2:16pm UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677 "2024-03-01T14:16:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Urvish\_Mehta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/urvish_mehta/32/81912_2.png) [@Urvish\_Mehta](https://forum.inductiveautomation.com/u/Urvish_Mehta)\
**Post date:** [March 1, 2024, 2:16pm UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677/1 "2024-03-01T14:16:02Z")

</div>

Hello,

On button, we have Confirm property which will open message box to confirm action from user, now I want to change the background of that box. I am not sure how to do that. I am using vision 8.1.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5cd35973c33194185ddba5cf50cadc19210d4cdc.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/3/13fec5d487a065602540a43dbd22d97c1ea9394c.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 1, 2024, 3:13pm UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677/2 "2024-03-01T15:13:12Z")

</div>

Basically, you can't.  
It's a modal popup dialog, so while it's open the event dispatch thread (where most of your scripts in Vision are run) is blocked, deliberately, so that users have no choice but to interact with the dialog box.

---

<div class="post-metadata">

**Author:** ![Urvish\_Mehta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/urvish_mehta/32/81912_2.png) [@Urvish\_Mehta](https://forum.inductiveautomation.com/u/Urvish_Mehta)\
**Post date:** [March 1, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677/3 "2024-03-01T15:44:34Z")

</div>

Is there a way I can blur windows behind it? Issue is that it does not stand out.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 1, 2024, 3:53pm UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677/4 "2024-03-01T15:53:04Z")

</div>

You will need to make your own. This thead may help.

> [@Modal Pop-Up How-To?](https://forum.inductiveautomation.com/t/modal-pop-up-how-to/15211/10):
>
> Alright, who is ready for some hacking? This might get complicated, but here is how I have achieved this in the past. As an example, I will use my custom lock screen, attached in this post. Here is the script. def lockScreen(): from javax.swing import SwingUtilities,JFrame #Import some stuff import system.nav if system.util.getGlobals().has\_key('lockScreen'): #Check if the screen has been locked before. This really just saves the set up code system.util.getGlobals()["app"].getRootPane…

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 11, 2024, 4:13am UTC](https://forum.inductiveautomation.com/t/change-propery-like-background-of-confirmation-box/86677/5 "2024-03-11T04:13:25Z")

</div>

Personally, I don't like gui locking message boxes, but nevertheless, I do have a couple of examples in the forum on how to customize them:  
• [https://forum.inductiveautomation.com/t/customized-message-box-vision/64578/16](https://forum.inductiveautomation.com/t/customized-message-box-vision/64578/16)

• [https://forum.inductiveautomation.com/t/system-gui-confirm-text-formatting/63750/9](https://forum.inductiveautomation.com/t/system-gui-confirm-text-formatting/63750/9)
