window closing when click outside - how to enable or disable

In my Vaadin7 app, I have a window closing when clicking outside the window. I could swear there was a way to enable or disable this feature. I know the sample let’s you do stuff on the triggering screen ( ). You can click “Open a new Window” multiple times. It actually stacks the windows. I just want to be able to do stuff on the underlying screen.

Are you looking for the modality feature? You can try it with the setModal(true/false) method.


I did that. Using “setModal(true)” makes it so you can click behind it ( outside the window ), but the window goes away. I don’t want the window to go away. See sampler for what I am talking about.

Basically, I was thinking of using this window to hold filter criteria for an attached Grid.