added mode.html radio buttons