How to change the robot verification popup to a subscription confirmation?

When I click on the subscribe button added at top header (added using code), this brings up a popup requesting the customer to confirm they are not a robot. How can I remove this popup and replace with a confirmation of subscription popup on screen?

thank you

  1. In the code editor, find the file where the code for the subscribe button is located. The exact location will depend on how the subscribe button was added to the top header using code. Look for files like header.liquid, sections/header.liquid, or any related files.
  2. Open the appropriate file and search for the code related to the subscribe button. This code might include HTML, CSS, and JavaScript. You can fix the code there

Unable to locate anything relevant to the subscribe button in the header.liquid. Any further help would be appreciated.