Massive gravity from Dirichlet boundary conditions