Vaadin model window close when clicking out of it.

Hi All,

How can I close a vaadin model window, when somebody clicked on the grayed parent window area?

For example, in the above sub window, when I click on the parent window, model window should be closed,

This was asked a while ago,
here
.