Fixed modify portal dialog, was broken after migration to 1.42.1