Add a anonymous function to override click through behaviour