Reactiveness
Adding controls whether overlay should be closed;