diff --git a/sao/src/screen.js b/sao/src/screen.js
index beecf7a3fb..6640a54335 100644
--- a/sao/src/screen.js
+++ b/sao/src/screen.js
@@ -553,11 +553,19 @@
this.search_form.fields.push([field.string, entry, input]);
}
+ jQuery('', {
+ 'class': 'close',
+ 'type': 'button',
+ 'data-dismiss': 'modal',
+ 'aria-label': Sao.i18n.gettext("Close"),
+ }).append(jQuery('', {
+ 'aria-hidden': true,
+ }).append('×')).prependTo(dialog.header);
jQuery('', {
'class': 'btn btn-primary',
- type: 'submit',
+ 'type': 'submit',
'title': Sao.i18n.gettext("Find"),
- }).text(Sao.i18n.gettext('Find'))
+ }).text(Sao.i18n.gettext("Find"))
.appendTo(dialog.footer);
}
this.search_modal.modal('show');