getSelectedAttachments with new infoWindows
linting