Add support for custom callback when a marker is clicked