fix: override overlay after wrap

for the correct use "overlay" below (closeOnOverlayClick, etc.)