HCSVLAB-362: Added austofocus on fields on new item list modal dialog. Refactored the code which will allow to test it easier.