Fixed invalid expression when dialog content contains "?" character.