how detect form is submitted?
There a setting for Webform per form. This setting is located "Content > Webforms(tab) > Edit(your form) > Webform(tab) > Form settings". You can add the confirmation message or redirect to a Custom URL.