How to make modeless dialogue box


I have an action menu item in the content area that opens a dialogue box. Users enter a value and click OK and another form opens up with the related details but the dialog box disappears. 

When the users need to search for another record and they have to click the menu item again and then enter a value click OK again.

But users would like to keep the dialogue box to be active and not close it after they clicked on Ok.

The class declaration looks like this for the class that opens the dialogue

class TrackingPrompt extends RunBase
///// code

Is there a way to keep the dialogue box open (active) and not close it after clicking on OK?