Make the GUI2 lobby respect the require_modification attribute.

Fixes bug #22877.