Move delete box away from close button.

This never got merged in, for some reason.

@hcai, you still want this, correct?