rather than having this be a possibly blank string. How about:

new DynamicVariable[Option[String]]("")