Closing alert working