+1 for a core implementation.
I don’t think that the last opened tab should be saved in the database. I think it should only be for the current session of editing. For example, if I click “Edit Page”, it should always go to the first tab. But after I made an edit on a tab section and click “update”, it should remember which tab that was.