Removed the localPath property from SGDocument and after drawing lines on an SGDocument, the document will be saved automaticallY