It is caused if you run a page from the launch.json. If you then run another object that uses the above code, it will never show the OK-button.
If you then CLOSE the page that was opened on publish and reopen it again in the session, then the OK-button will appear
It seems that launch.json runs a page as RUNMODAL which blocks the next OK-buttons.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!