Add exitOnEsc and exitOnOverlayClick options

Make the exit on overlay click / ESC key behavior optional.