fix 'action' type addon settings not executed if id attribute is missing

Fixes regression introduced in 2ce4cccd07f6d9d3a143a. These actions will currently show up in gui even if it does not have an id attribute, but nothing will happen if clicked.