BUG:The progressShow method for layout has a flaw

Step 1 :online samples for DHTMLX Layout.
Step 2 : Layout. 1C
Step 3:Replace JavaScript content with the following steps
Step 4 :Click the confirm ‘apply’ button
Step 5:Observe the content of C1

const layout = new dhx.Layout("layout", {
    type: "space",
    rows: [
        {
            id: "C1",
        },
    ]
});

window.addEventListener('load', function() {
     new dhx.Layout("C1", {
	    type: "line",
	    rows: [{
	            id: "form",
	            height: "content" ,
                html:'input'
	        },{
	            id: "table",
                html:'table'
	        },
	    ]
	});
    dhx.awaitRedraw().then(function() {
     if(1==1){
        layout.getCell("C1").progressShow();
        dhx.confirm({
            header: "确认",
            text: "是否选中?",
            buttonsAlignment: "center",
            htmlEnable: true
        }).then(r=>{
          layout.getCell("C1").progressHide()
        });
     }
    });
}); 

Hello.

If you need to attach any dhx component to a layout cell please, try to use the attach() method:

Please, refer to the following updated snippet:
https://snippet.dhtmlx.com/ea2csj8g