Windows onClose and Page.open - OutOfSync

Hello all,

I’m having some troubles when opening a URL on a Windows’ onclose event.

My code :
final Window win = new MyNiceWindow();
win.addCloseListener(new Window.CloseListener()
{

	@Override
	public void windowClose(CloseEvent e) 
	{
		app.getPage().open("http://www.google.be", "GOOGLE", true);	
	}

}

Browser open the google webpage (in a new browser window), but my application is stucked, with my window half-drawed.

I tried to add a synchronized block on the app (UI.getCurrent()) objet, but still not working, same behavior.

I’m with Vaadin 7.1.1

Does anyone have any tip ?

Regards
[font=Wingdings]

[/font][font=Wingdings]

[/font]