Add and edit button to every document page