Close button added to error message.