added confirmation dialog for deleting routes