$ 0 0 is there a way to check if a mdichiild window is open and not let the user exit the program until this window is closed?