[NX-25] When adding the menu to a section return the added menu

https://issues.sonatype.org/browse/NX-25