Take the projective line with a doubled point over , obtained by gluing two copies of along the complement of one point. After every base change of a morphism of schemes, a closed subset has closed image from each of the two projective-line charts, so its total image, the union of those two images, is closed. The structure morphism is therefore universally closed. The two doubled points have no disjoint neighborhoods, so the scheme is not separated and hence is not proper.