what when bAction is ready/not ready within nSeconds
If bAction is finished in less than nSeconds, the program
waits till nSecond are completed.
If bAction takes longer time than nSeconds, the dialog is closed soon after execution of bAction is finished.