BZ-8751: rest of the gardenAuthorizationModal code
BZ-8751: deps