Persistent tabs

A way for tabs to stay persistent even after page refresh. At the moment it is falling back to tab that was set active in the editor.

Thanks