Prevent not redirecting after editing