anchor.diff:        const AEventKind: TAppCtlMouseEvent; const AData: TAppVariant);
     public
       IsDlgCustom: boolean;
  +    IsDlgModalEmulated: boolean;
       IdClicked: integer;
       FEventOnClose: string;
       FEventOnCloseQuery: string;
  
positive.code: begin
    //this is for https://github.com/Alexey-T/CudaText/issues/3078
    //prevent minimizing the modal-emulated form
    if FModalEmulated then
      if WindowState=wsMinimized then
      begin
        WindowState:= wsNormal;
  
negative.code:   BorderIcons:= BorderIcons-[biMinimize];
  
    FormStyle:= UiOps.PluginDialogsModalFormStyle;
    IsDlgModalEmulated:= true;
    Show;
  end;
  
  