This issue is only a bit related to Wix Code/Corvid but you can forward this report to the right people at Wix.
Whenever I duplicate a page or lightbox which contain buttons, the buttons’ events are kept in the Live Site but in the Editor they don’t appear. When I add an event that’s already in the Live Site but doesn’t appear in the Editor it executes the event twice in the Live Event. I hope I made myself clear. To fix the issue I can just cut and paste each button, but it’s getting a little annoying doing this over and over. So please fix this!
Its a known issue . I thought this was fixed.
In any case we will need to wait to hear from the Wix Corvid team on this.