remove warning close button and align warning text