Added confirm alert to resolve #23