extended the door open alert logic