@plan
This was designed precisely so that if you need to close the planning panel, you won't have to plot again the entire route point by point.
So It’s a very good feature and it is definitively not a bug.
If you are only using the Route planner to measure the distance between 2 points, I understand that it's not very useful for you.