allow to select media in modal when filename overlap image