if you want a confirmation dialog, all you have to do is to assigning a value to the Confirm property and it will automatically display a confirmation dialog: Click on the submit button "Add Product" so that submits all the form data and we get the result in another screen with the same URL due to post-back. Created Model class, and Controller. The HTML