Add closeButton option

Added the close button option, default to false