modified confirm action