fix a bug saving state for un-realized tabs
Merge pull request #3455 from devoncarew/devoncarew_fix_tab_bug

fix a bug saving state for un-realized tabs