title: How can we listen to an event dispatched in PopUpWindow inside the parent component?
body: <p>I have a warning Popwindow with 2 buttons 'Submit' and 'Cancel'.
  On clicking submit I invoke a function and dispatch 'submit' Event with bubble true. I want to handle this inside my parent application. I have already registered the event with the parent container as well as the popup instance.</p>
  
  <pre><code>Inside Parent.mxml :
  
  
  private function launchWarningPopUp():void {
          var win:Warning = PopUpManager.createPopUp(this, Warning, false ) as Warning; 
          win.addEventListener(SubmitQuizEvent.SUBMIT_QUIZ, submissionDone);
          this.addEventListener(SubmitQuizEvent.SUBMIT_QUIZ, submissionDone);
          PopUpManager.centerPopUp(win);
  }
  
  private function submissionDone():void{
     Alert.show('Inside SubmissionDoneTwo');
  }
  </code></pre>
  
  <hr>
  
  <pre><code>Inside Warning.mxml:
  
  private function submitHanlder():void {
              dispatchEvent(new SubmitQuizEvent(SubmitQuizEvent.SUBMIT_QUIZ,true));
              PopUpManager.removePopUp(this);
  }
  </code></pre>
  
  <hr>
  
  <p>The event should bubble to Parent.mxml.
  Am I doing something wrong here or is it simply not possible ?</p>
  
  <p>I am stuck here, any help in this regard would be greatly appreciated.
  Thanks in advance.</p>