allow submit on click