added button to submit message to index