Issue with Divi Popup / Modal and recaptcha

Im using Popups for Divi from divimode.com, when i open the modal im getting the following errors, on submit im seeing the client id is null

I’ve added the following:

  // Initialize reCAPTCHA when popup is shown
  DiviArea.addAction("show_area", function (area) {
    if (area.hasId("regions_inquire_desktop")) {
      if (typeof grecaptcha !== "undefined") {
        grecaptcha.reset();
      }
    }
  });

the issue is now on first click the modal fails to open but on 2nd click it works as expect.

is there a way around this? am i missing something?