Cleaning up what happens after composing or replying to a message.