closeOnClick and closeButton options added.