add auto close countdown