issue #21451: Set focus when creating new entries on list relations editor

issue #21425: Add validation.