QML MessageBox onYes called two times after click

When I run project on PC any other than mine, onYes function from MessageBox executes twice. I have only made some text changes to the DefaultMessageBox.qml but even when I copied it from my PC the issue persists. I can't recall any other changes that I could have made to the Qt files, yet it must be somewhere there. I execute project on both iOS and Mac desktop with the same result. I've checked if there is only one MessageBox or Button, also the onClick from the DefaultMessageBox is called only once. Please help