added photo dialog