deployment ready
wired up Javascript for modals