56     property Item rootItem: null
    72     readonly 
property bool empty: _popups.length == 0
    75     property var _popups: []
    86     function presentPopup(popup) {
    87         popup.parent = rootItem;
    88         popup.closed.connect(
function() {
    89             var index = _popups.indexOf(popup);
    92                 _popups.splice(index, 1);
   109     function closeAction() {
   110         if(_popups.length > 0) {
   111             if(typeof _popups[_popups.length - 1].closeAction == 
"function") {
   112                 if(_popups[_popups.length - 1].closeAction())
   115             _popups[_popups.length - 1].close();