Hide

Forms Developer Guides Scripting Interface Modal

HIDE()

var modal = Modal.new();

modal.hide().then(function() {
  modal.visible() == false;
});

Hides the modal from the user. This method is the opposite of show, and toggle toggles between them.