How to add button to blueprint details panel?

Fantastic, thanks for sharing this! Super easy now.