I have a page where the user can edit some data. I want that page to not be added to the history stack. This is the case and works with the code above. Once entered I programmatically change pages, no problem there.
However if the user changes their mind and wants to back out of the edit page, then data-rel=back takes me "back" two pages because the edit page has not updated the history stack. I can of course use a Cancel button and take control of that, but if the back button on the browser is used I have a problem.
It doesn't seem (to me) that that should be the intended behaviour.