separate the diagram pop up menu to 2
fix bug of wrong start position when create new object on diagram panel