steps to reproduce:
-Go to Admin section -> WYSIWYG Editor:
- set the "Attachment selection limited" under Links to "Yes"
- create a new page
-add an attachment
-edit the Page in WYSIWYG Mode, and inset a link. You should not have the "All Tabs" in that modal.