add native Edit api functionality to allow calling of Edit menu items pr...

...ogrammatically