Rednose-Dialog: Fixed api breakage; value was returned by-value instead of by-reference