I am creating a component,
controllers theatercontroller facilitycontroller Models theater facility view theater facility
It doesn't have to be anywhere near that complicated. Many templates turn the modal behavior on already, but if they don't all you need to do is add this to the head -
Then add this to any links you want to open in a modal window -
class="modal"
Everything else is optional.