Added dismiss tap gesture, and PhotoLibrary mode for simulator