Dialog submission don't work from Threads

There’s a decent chance the dialog is mounting outside of the form, so a submit button within the dialog wouldn’t actually be within the form and therefore won’t submit it. I don’t know MUI too well, but there might be a prop that makes the dialog render in the same place as the button that initialises it. Failing that, you’ll likely need create an onSubmit function that submits your form and call it from within your dialog. You may need to pass this function as a prop to your dialog depending on how you’ve structured these components.