prevent bodyClick from firing if state is not in DOM