how can i close a messagebox in code? ( i want to close it 3min after the messagebox being popped up , if the user doesnt close it )

thanks