make overlay an component