"Use an existing reference" in the reference dialog should be disabled when there is content

Bug: 65689
Change-Id: I55f7af71957634f5c19996be02a51af0288e9e2f
Merge ""Use an existing reference" in the reference dialog should be disabled when there is content"