add message selection and display in viewer