title: StoryBook: how to test modal views?
body: <p>I use <a href="https://storybook.js.org" rel="noreferrer">StoryBook</a> to develop the views of my <a href="https://facebook.github.io/react-native" rel="noreferrer">React Native</a> mobile application. This works OK for "regular" views, but when I display a <em>modal</em> view (implemented using <a href="https://github.com/react-native-community/react-native-modal" rel="noreferrer"><code>react-native-modal</code></a>), I get "locked in", i.e. the StoryBook UI used to switch between views under development is inaccessible (due to the modal view being "too modal").</p>
  
  <p>I can somewhat work around this by e.g. adding a button to the modal view under development to close it in order to make the storybook UI accessible again, but obviously, I would like to see the "production" contents only, i.e. the modal view without any "helper UI".</p>
  
  <p>Is there any way to e.g. close the modal view using built-in StoryBook functionality or <a href="https://storybook.js.org/addons" rel="noreferrer">Addons</a>, e.g. <a href="https://github.com/storybookjs/storybook/tree/master/addons/knobs" rel="noreferrer">Knobs</a> ?</p>
  
  <p>How would I generally go about developing / displaying modal views in StoryBook ?</p>