add popover management when dismiss photo detail view controller