I have a custom ItemStyle.xsl in SharePoint 2019, and I need to open a SharePoint Modal PopUp Dialog window in ItemStyle.xsl when a link was clicked.
<a href="{@TwitterAccount}"><xsl:value-of  select="@Title" disable-output-escaping="yes" /></a> 
My SharePoint cusotm style in ItemsStye.XSL is 
<xsl:template name="UserProfile" match="Row[@Style='UserProfile']" mode="itemstyle">
		<xsl:variable name="SafeLinkUrl">
			<xsl:call-template name="OuterTemplate.GetSafeLink">
				<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
			</xsl:call-template>
		</xsl:variable>
		<xsl:variable name="SafeImageUrl">
			<xsl:call-template name="OuterTemplate.GetSafeStaticUrl">
				<xsl:with-param name="UrlColumnName" select="'ImageUrl'"/>
			</xsl:call-template>
		</xsl:variable>
		<xsl:variable name="DisplayTitle">
			<xsl:call-template name="OuterTemplate.GetTitle">
				<xsl:with-param name="Title" select="@Title"/>
				<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
			</xsl:call-template>
		</xsl:variable>
		<a href="{@TwitterAccount}"><xsl:value-of  select="@Title" disable-output-escaping="yes" /></a> 
</xsl:template>
How to open Modal Pop up Dialog window in SharePoint ItemStyle.XSL?