Persist params to show action's back link
Sanitize document preview