Here is a example dialog.

Selected text:

Custom arg: