Add close button to overlay of error type