Dismiss message on attachment being watched?

When I link a file in a note and then click on it to open the file (say, a pdf), a persistent red message shows above the note. It is not dismissed when closing the document and only goes away when switching to another note. I think there should be a dismiss button or an option to not show this again.

The following attachments are being watched for changes: filename.pdf
The attachments will no longer be watched when you switch to a different note.

Joplin 1.2.6
Linux x64 AppImage