Close a door when leaving a location