ActionsMenu: Properly cleanup the menu
- Make sure items we created get destroyed as they are removed.
- Do not access modelData on remove. It might already be too late and the data is destroyed. Instead just store the data.
This addresses, at least, Discover sources menu that updates itself as you use it, which would grow indefinitely.