It's saving the definition of the tab into a file - it's not stored inside the script. Run this in the script editor and it will tell you where the file is:
Code:
print (((`workspace -q -rd`) + "scripts/pose/") + "tabs.script");
Remove the reference to your tab, and it should work.
Imagination is more important than knowledge.