Add a dialog window and display visited and captured counts

This is the code I pasted to the G+ group.