Makes photo dialog functional for adding image URL