diff --git a/src/views/pages-manage/edit.php b/src/views/pages-manage/edit.php
index <HASH>..<HASH> 100644
--- a/src/views/pages-manage/edit.php
+++ b/src/views/pages-manage/edit.php
@@ -75,7 +75,9 @@ $form = \yii\bootstrap\ActiveForm::begin([
                             'ajax' => [
                                 'url' => $url,
                                 'dataType' => 'json',
-                                'data' => new JsExpression('function(params) { return {q:params.term}; }')
+                                'data' => new JsExpression('function(params) { return {q:params.term}; }'),
+                                'delay' => '400',
+                                'error' => new JsExpression('function(error) {alert(error.responseText);}'),
                             ],
                             'escapeMarkup' => new JsExpression('function (markup) { return markup; }'),
                             'templateResult' => new JsExpression('function(parent) { return parent.text; }'),
some features
* added an alert with error message
* added a delay before ajax request