Added confirm dialogue.