How do I layout my plugin so the popup refreshes as changes are made?

Noob question. I’m trying to create a plugin that does a set of commands through a popup. I would like the popup to update / refresh every time i make a change to the floats. Right now it works by hitting okay in the popup. I just need help understand how to better lay out the class. I have it setup like this…

Class gets called from a pie menu… then creates a separate popup.

Class Dothething(bpy.types.Operator):
label stuff…
float properties for the popup

def execute(self, context)

[INDENT=2]Does the stuff. Make changes to selected object
Finish.[/INDENT]

def invoke(self, context, event):

[INDENT=2]return context.window_manager.invoke_props_dialog(self)[/INDENT]

I’m still a noob when it comes to programing and I’m not entirely sure how to layout the plugin using documentation I’ve found. I’ve been banging my head against the wall for weeks on this. Thank you! :slight_smile: