on close resend id