added message box display on submit