Listener invoked when attachments are selected in the attachment tab.
Called when the list of currently selected attachments changes.
Called when selected attachments need to be submitted to the message input.