Web UI: refactor tabs. Refs #2849