Fix #2730

Swap OC.dialogs.alert()'s parameters, so Error is shown
as its title.
Merge pull request #2819 from Kondou-ger/fix_2730

Fix #2730