hide overlay in callback