submit on first click on submit button