Track visibility of dock_item (UiElement).

 * Use this with UiSearch and toggle elements.