added modal dismiss to modal images
modals now dismiss on image clicks