We have a requirement to open the Dialog component(Dialog_1) to take confirmation to proceed with the action mentioned in the Script of Button(Button_1).
So, I have created a button and called the Dialog window ( Dialog_1.open();) and In the Dialog component I have created 2 button with Yes and No.
Once somebody clicks on "Yes" Button, The code in the Script of Button_1 should get execute. How to call/Execute the logic in Button_1 after we confirm on "Yes" in Dialog window.