Added the right click listener on the states.