not replacing modal directive content