adhoc: after command completion, the command list should be refreshed
The command list is cached and only updated by closing/reopening the adhoc dialog. The cached commands are displayed again after cancelling or completing a command, but some entities might change the list of available commands because it has changed during the completion another command.
Very pragmatic and shamelessly self-centered example: in slidge you can register with adhoc commands (to overcome the limitations of in-band registration), so the "register" command is not available anymore after completion, and some new commands are available once you're registered.