finally got modal working on all of the pictures