      frame.hideFrameComponent('dezoomButton');
                frame.showFrameComponent('zoomButton');

                frame.setMovable({{popup_movable}});
                frame.setResizable({{popup_resizable}});


            });


            frame.on('{{macos_minimizing_behavior}}Button', 'click', (frame, evt) => {
   	     frame.control.doHide({
                callback: (frame, info) => {               
                    frame.closeFrame();
                }
            });  });

            frame.