add return to root document in pager