Save content of dynamic Tabs

For future reference: I found that this may lead to another problem as described in this thread.