MessageDialog: Use the right superclass

Change-Id: I34ccbd35328b96540d7a79b0378305ba8d72f7d8
Merge "MessageDialog: Use the right superclass"