Yes but I would not have waited as long as you did before pressing the button. There is a balance I know children want to press the button and I have no desire press any buttons after Covid-19.Would you have pushed the button?
However we compromise by stating out loud our floor choice directly to the parent and give them about 30 seconds to work it out with the child in then we press the button for our floor.
If the father and child want to use the elevator as a ride or as a distraction they should find a quieter time of the day to play elevator.
Dave