connect to edit modal