Added svg document dispose