[#1266] Added functions for saving/deleting a contextual menu