Added closeOnOverlayClick option