fix(popup): only override prompt input if template includes HTML