This diff reintroduces the error message for the thread settings modal. Additionally, I deleted the `SubmitSection` component since this was no longer being used
Linear task: https://linear.app/comm/issue/ENG-5943/extendmodify-the-modal-props-api-to-follow-new-modal-designs
Depends on D11034