When you’re building a dialog, ask this: “Should users be able to share a...
When you’re building a dialog, ask this:
“Should users be able to share a link to this dialog?”
If so, store the open state for the dialog in the URL’s querystring:
?showDialog=y
Now, when users share the URL, the app automatically opens the dialog. 👍
Some might wonder “when would a deep link to a dialog make sense?”
Example: A list that displays the details for a record in a dialog. Keeping the list loaded on the page speeds up switching between the list and details.