
A Modal transition is used to begin a self-contained task that must either be completed or explicitly abandoned by your users. Composing a new email, posting a new photo on Instagram, creating a new note in Evernote, are all examples of self-contained tasks that must be completed in one or more hierarchical steps, or must be cancelled altogether. To cancel a modal task, you must create a layer with a Dismiss Modal behavior.