我的代码 如下, 但显示出不是模式窗口 , 如果实现以模式窗口显示 ?? Ext.onReady(function(){
    var win;
    var button = Ext.get('show-btn');    button.on('click', function(){
        // create the window on the first click and reuse on subsequent clicks
        if(!win){
            win = new Ext.Window({
                applyTo     : 'hello-win',
                layout      : 'fit',
                width       : 500,
                height      : 300,
                closeAction :'hide',
                plain       : true,
                items       : new Ext.TabPanel({
                    applyTo        : 'hello-tabs',
                    autoTabs       : true,
                    activeTab      : 0,
                    deferredRender : false,
                    border         : false
                }),                buttons: [{
                    text     : '上上上',
                    disabled : true
                },{
                    text     : '你在地',
                    handler  : function(){
                        win.hide();
                    }
                }]
            });
        }
        win.show(button);
    });
});