[fix] redirect after deleting document