I stumbled upon a workaround that might be of use to others. So the button does not work if I use it on a page. However I created a property and when I use the button in the edit property screen, it works. Then you can create the shortcode there and copy it and use it on the appropriate page.
@g5theme I just installed the 4.1.0 update. Still the same issue.