modal dialog for deletion added, some minor fixes