Flip behaviour of modal confirm buttons

https://docs.webix.com/desktop__message_boxes.html#modalmessageboxes

I’m using the webix.confirm modal window. This results in a window with “OK” and “Cancel” buttons. I want to switch the behavior of these buttons. Mainly the keyboard enter listener and also the color. So pressing enter on the modal calls the cancel behavior instead of “OK”.

I know I can define my own buttons, but these are all the same color. How do you attach styles to certain buttons? And how to attach enter listener to a certain button?

Thanks

Hello @mykal ,

Check the sample: https://snippet.webix.com/ve6k9xxf