Added ability to select text to act on after selecting action