Fix (actions.addRow)

When the Submenu is empty, the actions.addRow function doesn't work properly in the Megamenu configuration page, basically reloading it instead of adding a row to the Submenu.
Sadly my fix makes it impossible to remove the first row in a non-empty Submenu, so I'll close the pull request and look further into the matter.