title: create a modal window which is not full screen
body: <p>I'm trying to mimic the screen which pops up n an iphone when you click more on a photo, in titanium. I think it is a 'modal window'. I've tried and created a modal window with a few buttons only, for now. Later I will introduce the icons. But the modal window takes up the whole screen and I tried to resize it but that hasn't work.. Any advice on how to reproduce a screen like the one on the left here is very appreciated:
  <a href="http://9to5mac.files.wordpress.com/2012/08/screen-shot-2012-08-09-at-12-24-18-pm.png" rel="nofollow">http://9to5mac.files.wordpress.com/2012/08/screen-shot-2012-08-09-at-12-24-18-pm.png</a>
  I'd like to try and reproduce something similar to this in Android as well. My original code is below:</p>
  
  <pre><code>var ModalWindow = Ti.UI.createWindow({
              title:'modal window',
              backgroundColor:'black',
              height: "80%",
              width: '200dp'
          });
  
          var PlayStoreBtn= Titanium.UI.createButton({
              title: 'Play Store',
              top: '10%'
          });
  
          var youTubeBtn= Titanium.UI.createButton({
              title: 'YouTube',
              top: '20%'
          });
  
          var facebookBtn= Titanium.UI.createButton({
              title: 'Facebook',
              top: '30%'
          });
  
          var mySpaceBtn= Titanium.UI.createButton({
              title: 'MySpace',
              top: '40%'
          });
  
          var twitterBtn= Titanium.UI.createButton({
              title: 'Twitter',
              top: '50%'
          });
  
  
          var deleteBtn= Titanium.UI.createButton({
              title: 'Delete',
              top: '60%'
          });
  
          var cancelBtn= Titanium.UI.createButton({
              title: 'Cancel',
              top: '70%'
          });
  
          cancelBtn.addEventListener("click", function (e){
              ModalWindow.close();
          })
  
          ModalWindow.add(PlayStoreBtn);
          ModalWindow.add(youTubeBtn);
          ModalWindow.add(facebookBtn);
          ModalWindow.add(mySpaceBtn);
          ModalWindow.add(twitterBtn);
          ModalWindow.add(deleteBtn);
          ModalWindow.add(cancelBtn);
  
          ModalWindow.open({modal:true}); 
      });
  </code></pre>