removing var/wiresexposed and using panel_open instead