RE: Rocord popup as click on button
Your screenshot shows a tooltip display. It's activated when mouse is hovered over a form control.
You can override the tooltip method of any form control and add your own logic there. I don't think you can show a tooltip when a button is clicked.
But you can try, just call YourFormControl.tooltip() method in your button's clicked method. Please let us know how it goes.
But the best solution for your requirement is to implement a new form where you can show the details of a record.