Let ancestors access modal to prevent exception

Let the current call stack clear so ancestor components accessing this
modal can still access it before it is unmounted. Without deferring,
React throws an exception in `ReactMount.findComponentRoot` when the “X”
or “Cancel” button is clicked.
Merge pull request #301 from mesosphere/prevent-modal-exception

Let ancestors access modal to prevent exception