When my app is hidden and a dialog is closed the whole app quit's. Even if I first hide the dialog, then close it , the same happens.
I recall a thread about the same problem, but I can't remember where it was, and I can't find it trough the Forum search.
Got any idea?