Add property to specify when to hide the next control