We were clearing the message editor too early. We only want to clear the message editor if we are going to short circuit and return early before submitting. Otherwise, the agents that can handle this themselves won't have the ability to do so. Release Notes: - acp: Fix /logout not working for some agents