prevent accidental closings