Rework transition to closed to match other transitions.

Fixes #178