There are two ways to save exesting document:
using menu File->Save/Save as..,
or using
button on the toolbar.
It is necessary to pay attention to method of saving of
HTML documents.
If you want to save CSS section, imported from HTML document, into aseparate file, use
Tool -> Export CSS into a file....