Bug 1103894 - Use DialogService to display the warning dialog

https://bugzilla.mozilla.org/show_bug.cgi?id=1103894
Just want to let you know that Zibi mentioned that our API design breaks l10n best practices and I already filed another bug here - https://bugzilla.mozilla.org/show_bug.cgi?id=1111903 for your reference.