Fixed notifications for document saves, separated document save functions, added timeout for content saving