end edit page