Hack to prevent multiple secondary panels