Pass 'modal-content' element into callback functions