how to open vaadin window from my own javascript?

I am using javascript based component in vaadin application.
I want to open vaadin window from javascript method.

I would recommend to send that event back to server-side as normal variable change and open the window from server.

How to send normal variable change event to server from javascript function ?