Can we use "dialog" instead of "dialogue"?

Functions should be verbs.  showCloudCareConfirmDialog?