add fields to edit popup