Keep "minimise" button working during ThreadWithProgressWindow?

I get it makes sense that an app’s minimise (and for that matter maximise and close) buttons don’t work while a ThreadWithProgressWindow is running (as it’s a modal dialog), but it would still be nice if I could minimise my app during doing its thing (that is, while running the ThreadWithProgressWindow) , is there a way to do this ?