if (toggleState != null) {
tagBox.add(new ClassAttributeModifier("open", !toggleState));
}
tagBox.setVisible(ISIApplication.get().isTagsOn());
StateSavingCollapseBoxBehavior behavior = new StateSavingCollapseBoxBehavior("tagToggle", getPageName(), "tagToggle");
tagBox.add(new WebMarkupContainer("tagBoxToggle").add(behavior));
ContentElement ce = responseService.getOrCreateContentElement(loc).getObject();
tagBox.add(new TagPanel("tagPanel", ce, ISIApplication.get().getTagLinkBuilder(), ISISession.get().getStudentModel().getObject()));
} else {