emptying content when message is not selected