Fixed focus and css bugs in photos and with global modals