expansion window closes on delete