Closed
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Ability to hide the MdDialog and then show it back, with the component inside of it not being changed.
What is the current behavior?
The component can only be closed, and the component inside is destroyed.
What are the steps to reproduce?
Open a dialog, change something inside it, close it, open it back, and see that the change is gone.
What is the use-case or motivation for changing an existing behavior?
For example with a form inside a MdDialog, resetting the form when the dialog is closed/hidden is very annoying.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.2.0-rc.2, Material 2.0.0-beta.6, any OS, any TypeScript version, any Browser