make this ctor of MessageDialog for the builder only

Change-Id: Ic92f6e46164bdb2e15a0a23876fce5be10a73324
missing imports

Change-Id: Id569f55097cf513825b62225ec8861319b0a93cf