Windows onClose and - 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()

	public void windowClose(CloseEvent e) 
		app.getPage().open("", "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 ?