Lax coach Gallagher stunned by dismissal