Switch modal title according to xblockInfo's category.