The cmpDialogOKCancel component can be used in Powerapps canvas apps and gives the possibility to display a modal dialog including: title, message, "cancel" button and "ok" button.
Through the actions: OnSelectCancel and OnSelectOK present in the component it will be possible to execute actions based on the button selected by the user, directly on the calling screen.