implement self-closing doors