     frame.setResizable({{popup_resizable}});


            frame.{{macos_buttons}}setControl({
                styleDisplay:'inline',
                maximizeButton: 'zoomButton',
                demaximizeButton: 'dezoomButton',
                minimizeButton: 'minimizeButton',
                deminimizeButton: 'deminimizeButton',
                hideButton: 'closeButton',
                animation: {{macos_animation}},
                animationDuration: 150,

            });

            frame.on('zoomBu