Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

close modal window click in the background/ or outside of the window?

helmut Brandner
1 decade ago Jun 20, 2012 7:40am


There is a solution to close a modal Window when i click in the background? or how i can add some new listener on the backgroundLayer?

I open a modal window and open some new dialog (add window to the mainAppllication) from this. so when i hit on the background from the first modal window, the new dialog should be closed...

Last updated on Jun, 20th 2012