made edit view asynchronous and added a check to see if instance belongs to form