Links in alert messages close the message.

Fix by applying the data-dismiss attribute to the button only.