added modal dialog for confirm/reject