add redirect to edit forms

solution for #852