add an ugly close-all thing