Show confirm on form

If request submit from form which has `data-confirm` attribute, but has no `data-remote=true`, confirm dialog is not shown.
By handling submit based on `data-confirm` attribute, this commit enables it to show confirm dialog even if the form tag has no `data-remote=true` attribute.