Added option to hide close button on messages