Photos: make modal posts dismissable