Nest the close link inside the message alert box otherwise it appears below it instead of inside it.