ignore non-existing element while adding listeners to element
hide/show