Fixed regression in ConfirmDialog