I've noticed that using /notify to change a listbox selection doesn't trigger the proper notifications in the rest of the UI.
For example, doing something like this (starting with, say, offence enhancement selected):
/notify LeadershipWindow LEW_GroupList listselect 2 data
/delay 5
/notify LeadershipWindow LEW_PurchaseButton leftmouseup
It will ask you if you want to buy offence enhancement, not the item that is currently "selected" by the listbox.

