Alert Close button

I know this may not be the best way. But no every case needs the  "close" button.