Changed MessageDialog and ProgressDialog's constructor visibility.

Changed ```MessageDialog``` and ```ProgressDialog```'s constructor visibility to allow users to inherit from ```MessageDialog``` and ```ProgressDialog``` and provide their own spin to them.