Dialogue box with multiple action buttons

We have a scenario where when a user changes the code language (script), they're given the option to either keep the code they've already written or override the code. I'm currently working on the dialogue box for this, but have previously not worked with multiple action buttons in a dialogue box. Below is a reference image. enter image description here

I have a couple of questions regarding my approach: - Is it appropriate to use a dialogue box for this? - Any examples of multiple buttons in a dialogue box?

Thank you.