Unable to set custom skin for dhtmlxWindows

I used custom skin called [modern_blue] with v2.1.

Upgrade to v3.0, I can not render the dhtmlxWindow anymore, instead i get [Uncaught TypeError: Cannot read property ‘hh’ of undefined]. un comment setSkin or using default skins works.

var wm = new dhtmlXWindows();
win = wm.createWindow('input', 30,30,400,400);
wm.setSkin('modern_blue'); <- this give me the error

i have

/dhtmlx/skins/dhtmlxwindows_modern_blue.css
/dhtmlx/imgs/dhxwins_modern_blue

Do I have to do special thing to make dhtmlxWindows v3 work with custom skin ?

modern skin is not supported in 3.0

There are only 2 skins:
dhx_web
dhx_skyblue

Here is the sample:
dhtmlxWindows/samples/01_init/11_skinning.html

Colours of both skins can be customized using Skin Builder:

dhtmlx.com/docs/products/skinBuilder/index.shtml