working on document title editing functionality