diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 67904e6728d19df486aa2e8278809787160b1ea8..171dc5e58a2975510e71062a601054f9c9db96b4 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -726,7 +726,7 @@ Contacts={
 					$('#dialog_holder').load(OC.filePath('contacts', 'ajax', 'editname.php')+'?id='+this.id, function(jsondata){
 						if(jsondata.status != 'error'){
 							$('#edit_name_dialog' ).dialog({
-								modal: (isnew && true || false),
+								modal: true,
 								closeOnEscape: (isnew == '' && false || true),
 								title:  (isnew && t('contacts', 'Add contact') || t('contacts', 'Edit name')),
 								height: 'auto', width: 'auto',