leaveThread

Updates the UI state when leaving the thread, to switch back to the MessageMode.Normal message mode, by calling setMessageMode.

It also dismisses any currently active message actions, such as Edit and Reply, as the user left the relevant thread.