preventing default action of submit game button