t) => {
                _frame.closeFrame();
            });
            frames.push(frame);
        }
        frames[0].requestFocus();



    }



	function macos_popup() {
       		const jsFrame = new JSFrame();		
		const frames = [];

        for (let i = 0; i < 1; i++) {
            const frame = jsFrame.create({
                name: `Win${i}`,
                title: `{{popup_title}}`,
                left:{{popup_position_left}} , top:{{popup_position_top}}, width:{{popup_width}}, height:{{popup_heig