Adding behavior to input buttons feature: When the element is not visible