fix pdf selecting in ckeditor modal