added a function to save the current opened mesh to .obj