I think you should have bet out on the flop to find out where you stood, maybe you could have folded to a raise??
The turn bet again could have the guy on trips, but yeah I think the raise was OK, I'm baffled that he only called so that justifies your river bet aswell.
I think the only problem with this hand is the check/call on the flop, definitely should have bet out to get information.
By the way, I put MP2 on trips. Button could have made his flush, but I'm not really sure about that.