Adding modal to show the error and make sure to focus on the first error field.