Can you please set panel to null instead so that intent of this is more obvious.