Emergence of glasslike dynamics for dissipative and strongly interacting bosons.