Depends on D4939
Context: [[ https://linear.app/comm/issue/ENG-1463/show-pending-thread-in-web-inbox-when-create-chat-is-pressed | here ]]
Changing behaviour after closing `ChatThreadComposer`.
Now, when we close thread composer on pending thread by clicking the `X` button, app will focus on the first thread on the top of the list
In other cases, app will focus on the currently generated or matched thread.
Also, this diff improves behavior of `ChatThreadListItem` `onClick` event. Now, clicking on currently active thread in chat creation mode doesn't close `ChatThreadComposer`.