title: Angular 4 Material Dialog Smooth Transition
body: <p>Is there any way make the height and width of the material dialog transition from one size to another based on the content inside?</p>
  
  <p>I have tried to add animation to the content inside, there is a smooth transition of the content, but the modal is still not transitioning properly. I want to modal to change width/height based on the content smoothly.</p>
  
  <p>What I want: Height/Width of Modal Dialog to be smooth based on the content inside. e.g when the content is large and I switch to smaller content, I want the dialog to transition smoothly to the new size.</p>
  
  <p>I used the updateSize() to update the size of the dialog but still, there is no transition. </p>