Hi,
Listen to this solo, and try to hear the mode of the music.
http://soundcloud.com/jonas-tamas-guitar/guess-the-mode
First step: try to locate the root (the note that sounds the most natural if you play it when the music is on).
Second step: if you have the root, check the 3rd note of the scale. Is it a major 3rd or a minor 3rd?
Third step:
if it is a major 3rd, then check whether the scale is ionian (major), lydian or mixolydian
if it is a minor 3rd, then check whether the scale is aeolian (minor), dorian or phrygian
Theory refresher:
Lydian: same as the major scale, but the 4th note is raised with a half step.
Mixolydian: same as the major scale, but the 7th note is lowered with a half step.
Dorian: same as the minor scale, but the 6th note is raised with a half step.
Phrygian: same as the minor scale, but the 2th note is lowered with a half step.
(the mode is not locrian, so this time we can discard it )
After step #03 you have the correct mode