add id to edit window