ConfirmDialog removal of dark background

Hello,

I wanted to ask if it is possible to remove the dark background of ConfirmDialog when it pops up. I think it could be done via CSS but I can’t seem to figure out the style name I could use to remove it.

Thanks for the help!

If you mean the color inside the dialog, you can use a custom CSS class and add it with confirmDialog.setStyleName("custom-style-name"). If you mean the faded color in the background of the dialog, you can try overriding the v-window-modalitycurtain CSS style name.