replacing wiresexposed by panel_open