PopupOnCloseFunction: ((args: LayerDefinition) => void)