Fix restoring form tabs and groups with categories and ajax loaded tabs