How the interplay of dormancy and selection affects the wave of advance of an advantageous gene