Adding has hidden content classes to the popup