Entrainment of a dense layer by thermal plumes