done calculate dialog