public function addAction()
{
$tag = new Pimcore\Model\Element\Tag();
$tag->setName(strip_tags($this->getParam('text')));
$tag->setParentId(intval($this->getParam('parentId')));
$tag->save();
$this->_helper->json(['success' => true, 'id' => $tag->getId()]);
}