Fix #2730

Swap OC.dialogs.alert()'s parameters, so Error is shown
as its title.