update js to grab modal id and match to rel attr