changed to context menu renderig to organize menu entries in submenus