close(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false) {
      if (!(0, _Device.isPhone)()) {
        super.close(escPressed, preventRegistryUpdate, preventFocusRestore);
      } else {
        this._dialog.close(escPressed, preventRegistryUpdate, preventFocusRestore);
      }
    }
Closes the popover/dialog.
@public
@method
@name sap.ui.webc.main.ResponsivePopover#close
@returns {void}