Implementation Note: In your actual website, uncomment the localStorage code in useEffect to enable proper cooldown functionality.
Usage: Simply add this component to your page layout and it will automatically handle the popup timing and form submission.