updated message editor behavior