use text selection as default when prompting for input #12