Add exitOnEsc and exitOnOverlayClick options