Introduce mode detail page and related fixes.