web: More refactoring of modals and overlays
web: Fix handling of ValidationError