Handle sup element in popups