testing to see if document has a save function