Add support for intercepting clicks caught by router