hunk.code_window: 	const submitButton = (
   		<Button
   			type="submit"
   			size="sm"
   			disabled={
   				form.formState.isSubmitting || props.submitDisabled || !form.formState.isValid
   			}
   			variant={props.ctaDanger ? 'colored' : 'accent'}
   			className={clsx(
   				props.ctaDanger &&
   					'border-red-500 bg-red-500 focus:ring-1 focus:ring-red-500 focus:ring-offset-2 focus:ring-offset-app-selected'
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 				form.formState.isSubmitting ||
   				props.submitDisabled ||
   				(!form.formState.isValid || props.errorMessageException
   					? !form.formState.errors.root?.serverError?.message?.startsWith(
   							props.errorMessageException as string
   					  )
   					: false)
  
hunk.file_path: packages/ui/src/Dialog.tsx
hunk.type: replace
file: # Features
  