In my program I collect data from analog inputs and store that in a binary file. My problem is I need to trigger another action when ever the user gives the file name to store the data and clicks the OK Button inside the Dialog box. Is there any way I can get the boolean signal when ever the OK button is pressed?