When I tested this out, I got a message below the Submit button. It was not a modal dialog.