There is no simple method of hiding and showing a Dijit ContentPane.
For example assuming your page has this:
You can hide MyTab like this:
And then, to redisplay, you’ll want to check if the saveMyTabWidget variable has been set, and if so, add it back as a child to the TabContainer, like this:
saleProductsTabWidget = undefined;