added auto focus to the first field on the create and edit pages