Adds redirect to root on doc save