Added message box when button is clicked.