support for action instead of submenu