chooseOKOnNextConfirmation substitute in Studio?

In Automation Recorder there is a command that selects OK on confirmation windows/modals that the recorder can’t locate: chooseOKOnNextConfirmation. Is there something similar in Studio? I’m converting my Automation Recorder tests to Studio and I’m unable to select OK on this one confirmation modal on my site.

What kind of dialog is it?

Did you try this? (or, for cancel,

There are also a couple others: and

It’s a Java Alert Dialog. I got it to work by using the Accept Alert command. Thanks for the suggestions.