Fix getting black overlay screen on every click.
- Install a wp plugin called: Enable jQuery Migrate Helper
- Then, go to Tools > Jquery migrate > en Settings , look for jQuery Version and choose the option: Legacy 1.12.4-wp in my case.
And reload the site, you can see a new widget.
-Visit the website, the plugin will scan the depreciated jquery strings, and automatic this can be fixed.