Fix bug #851: Error when press Enter key when edit a wiki before closing the assignation lightbox pressing ESC key