Additional components in the header of the Window

Hi,

I need to add button to the Window header (near the close button). In Vaadin 6 i use ToolbarWindow addon, but in Vaadin 7 it is not supported. How can i do this?