How to help a baby bird?

There was a baby pigeon or (ring collar dove) sat on a bench outside my window for the last few hours. Very wet. I’ve just brought it inside, didn’t try and move when I approached it, it’s now in a box with a towel and some seeds. It’s a fair size, about a blackbird size so thought it could fly, could it just be bedraggled/exhausted from the storm/ rain? Did I do the right thing? Should I do anything else?