can access query data for each modal