added an alert popup for the submit button