modify popup panel