prompt user for what to search for

For me it is useful to ask me what to search for if i haven't selected anything.

It's this useful for anyone else ?

Take a look at this forum topic on how to prompt for a string:
https://groups.google.com/forum/#!topic/brackets-dev/kGUj-kog8Cg
a simple || prompt('What are you searching for?') is more than enough.