jQuery example - following an example

I bought this template and want to make this page work in a separate file.


I have made it work (minus the css) but there's one issue. I don't know why when I bring up my sample page, a "modal" is already displayed. After 5 seconds or so, the actual modal is displayed.

My example is small and I've zipped it and attached it. Just click on the HTML page. I have screenshot below as well.

This screenshot shows when the page is first loaded. I don't know where this modal (I know it's not modal...I think it's because I don't have css) shows up.

Then after 5 seconds, the actual modal shows up and the first one is there.  
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David S.Commented:
The script generates the elements for you. And yet you've got them in the page already, so it shows up twice.

FYI, for future questions we'd be better able to help you if you included the non-minimized versions of the uncommon scripts. (jQuery is extremely common and jQuery UI and Bootstrap are common.)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CamilliaAuthor Commented:
but how do I fix it??
David S.Commented:
Remove the "sessionTimeout-dialog" element and all of its descendants that are inside the <body> of your test page.
CamilliaAuthor Commented:
let me try
here is the reference on how to use modal with bootstrap

The session time-out script

In case you prefer to use Jquery-ui style
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.