How to Customize Buttons in URScript Error Popup?

Hello everyone,
I am developing a URCap for Polyscope 5 and want to customize the error popup behavior in URScript. By default, the error popup shows only “Stop Program” and “Continue” buttons.

Is there a way to modify these buttons, for example replacing the “Continue” button with a different one, or adding custom buttons?

Any advice or best practices on customizing the popup buttons would be highly appreciated.

Best regards,
Halit