Show warning on reference dialog when editing a reference used in more than one place

Bug: 52792
Change-Id: I2b183c3867ddb601041f9989964aa6f78b5f37e4
Merge "Show warning on reference dialog when editing a reference used in more than one place"