submenu for open / create code / detach