Add filter option for dialogs.list

Fix context for command.run