handle GW spec tags
hide preview when hiding panel