fix editor messages not cleared on editor close