The procedure that actually closes the dialog
Source position: dialogs.pp line 90
public procedure TCommonDialog.DoClose; virtual;