add menu and its resource actions