How to know the option selected in confirmation popup ,back button
I need to know how do I fetch the value selected by the user on clicking the confirmation popup,when he clicks on back button on the window level of the screen.
When the user clicks onback button to navigate to the previous componenet I need to know what option he has selected i.e. yes/no/cancel,since based on that I need to pass values to the Ztable.
I am currently working on seged_tg componenet and on click on save event ,I am passng some values to the Ztable,but if by any chance the user doesnt click on save but clicks back buttom and selects "Yes",there is no way it will call the save event.
I need to know which class or event is triggered then.