Load

Forms Developer Guides Scripting Interface Modal

LOAD()

var modal = Modal.new();

modal.load().then(function() {
  modal.visible() == true;
});

Some built-in modals may be lazily loaded from the server. The show and hide methods return Promise values, and automatically call this method if necessary.