Actions + Show\Hide on the back button

In many cases we need to clear hidden values when a user exits a certain screen (SessionID, DateTime Stamps).
I know we can easily do that with actions but I don’t always want the user to get the feeling of “canaled action” , Sometimes its just the flow of the app.
Its not best practice to have the same action appear in different places on different screens and in different designs as well.
I Wish we could keep a unified UX and not use CSS for hiding the back button and then adding buttons for actions with the back action.

Thanks

Completely agree.

Agree with you. Should be like Commit Action.