Move diff, I created this file to house all the business logic for the thread settings modal into separate hooks. We need to do this because we need to use this logic outside of this component and use it in a "`primaryButton`" prop that we will pass to the modal
Linear task: https://linear.app/comm/issue/ENG-5943/extendmodify-the-modal-props-api-to-follow-new-modal-designs
Depends on D11030