edit dialog box opens without the use of indices