Save an open document

Hello,

I'm new with the solidworks api and therefor the solution for my problem maybe is trivial but I can't find a way to just save an open document in solidworks.

The add in I made always do a "save as" and because the file already exists it asks me if I want to override the file.

I tried to use the save-, save2- and save3-method of IModelDoc2 and alsways the same.

Is there a way to do a normal save operation?

SolidworksApi macros