Remove click listeners from modal confirm dialog so they don't stack up. Issue: #469