Add form submit handler for non file submission