Add function to alter the panelizer version of the modal window.