Nanoflow on the back button in Native Mobile App

Hi All,   I have a requirement to show a confirmation modal on the tap of the back button in the Native mobile app. I see by default Mendix adds the back button, and I do not know if it is possible to add the onclick event on the back button. Can someone please let me know if there is a way to add an on click event on the back button which Mendix adds by default on the Native mobile app?   Thanks in advance.
1 answers

In the page layout, remove the header and add your own custom ‘back’ button instead. Mind that Android also has a system back button which will always just navigate back.