Add JS functionality to modals
Document modal plugin