Here is a example dialog.

Selected text:

Custom arg:

www.tropotek.com.au