I'm pretty inexperienced as far as html goes and even less so with html5.

I have a question regading modal popups - page sections that are interacted with using javascript/ajax. These are not generally in the main html flow - I might for instance place all my modal code at the end of the page for maintainability. The question is - should I be declaring these chunks of the page as sections, or something else?