UI - prompt or confirmation box

Is there any way to prompt for confirmation boxes in RT UI upon saving a ticket or changing any ticket value? Looking for samples if any are available.
Thanks

I think you’d want some JS code to remove the default action for submit buttons and add your own confirmation HTML code