Added a new close button option to hide the close button