trying make data attributes be set on a modal instance basis