Enable moving UI elements in custom module
Currently only up/down function on same level is enabled. Enable moving event to parent/sub levels.
Trevor Fayas commented
You already can do this, on the General tab of your UI, once saved, you have "Parent Element" that you can set to a new parent.