Use dialogs.error instead of special alert