Do a rollback when editing a item and using the browser back button