Make click on block trigger proper events