text: const observableModule = require("tns-core-modules/data/observable");
  let closeCallback;
  
  function onShownModally(args) {
      const context = args.context;
      closeCallback = args.closeCallback;
      const page = args.object;
      page.bindingContext = observableModule.fromObject(context);
  }
  exports.onShownModally = onShownModally;