add UI for add photo attachment when try to add a path