new ruler dialog class
use new ruler dialog class for context clicks on ruler labels area