Save all data on your card, chances are it will fail soon. I started getting the same messages and waited too long. After a few days of getting the "SD card dismounted" message, one day my phone just stopped recognizing the card at all. I tried 4 different computers, and none of them would recognize the card either. Luckily I had most of my photos already backed up, but I still thought I had lost the ones from a recent vacation. After a few days, I decided to try again, and somehow my computer recognized the card, at which time I immediately copied everything on it to a folder on the desktop. My phone still won't recognize the card.
I bought a new Samsung 32gb card and all it well, for now.... The offending card was a Sandisk 32gb card. If you do a general search for something like "Samsung Galaxy S4 SD card failure" you'll get tons of replies. From my inter-weba-googling, it seems like it's an issue with the phone itself, as there are many different brands of memory card that I saw that had failed.