Close export svg test window on error