Remove unused ui from MSReferenceDialog