working on the demo part. Added a remove method to the window object and the centerPopup is now reffering to the parent container (not the stage)