Get document saving functionality