Hi Yavor,
Thank You for answer. this works for us partly.
We use smart-window as modal popups at the application where major part is yours docking layout.
Docking layout use whole dimension of browser at width and height.
When I enabled auto height dimension for the modal, smart-window was correctky sized depends on content.
But display on wrong place below of whole docking layout(need to scroll under screen),
not as before with fix dimensions in the middle of  browser.
Regards Jozef.