title: React-popup popup not working as expected
body: <p>I am using React-popup to create a contact form as a popup. I am trying to integrate my popup in the following way:</p>
  <p>In the App.js I have:</p>
  <pre><code>import Popup from 'react-popup'
  </code></pre>
  <p>I have an onclick listener on a Button element as follows:</p>
  <pre><code>&lt;Button onClick={listen} className=&quot;button&quot; size=&quot;large&quot;&gt;
      &lt;Text fontSize={4} &gt; Get Started&lt;/Text&gt;
  &lt;/Button&gt;
  </code></pre>
  <p>And the listen function trying to implement the popup as follows:</p>
  <pre><code>function listen() {
  console.log('listen');
  let mySpecialPopup = Popup.register({
      title: 'I am test',
      content: 'test',
      buttons: {
          left: ['cancel'],
          right: ['ok']
      }
  });
  Popup.register(mySpecialPopup);
  }
  </code></pre>
  <p>I am able to see 'listen' in console but nothing happens with the popup, no alert no errors either. Is this is correct way to implement it?</p>