saving title for document too