Is there any reason that we’re not using the full-page “Add an image or file” modal for adding links in the composer? The in-composer link modal is a bit odd/fragile. It’s not really responsive at all, and because of this it’s also easy to break with custom styling (if the box is a little taller due to font-sizes/padding, it can be rendered unusable). The full-page modals don’t have any of these issues.
For example, if I resize the composer:
Or if I resize my viewport: