The "executive control system" component of working memory controls the allocation of attention.
Executive control system is one of three parts including the model of working memory; deals with the visuospatial sketchpad and the phonological circle notwithstanding controlling data stream in working memory.