Well.
procedure TUniMainModule.UniGUIMainModuleBrowserClose(Sender: TObject);
begin
if formdata.haycambios then
//MessageDlg('Hello);
MessageDlg('There are changes Do you want to update them ?', system.uitypes.TMsgDlgType.mtconfirmation, [system.uitypes.TMsgDlgBtn.mbYes, system.uitypes.TMsgDlgBtn.mbNo, system.uitypes.TMsgDlgBtn.mbCancel], formdata.update_data);
end;
Don't raises the dialog, and don`t executes the formdada.update_dada procedure
Thanks