queue onclick events