Please refrain from all the non relevant explanations.
Just focus on the problem.
The widget code looks valid to me.
Can you show what code exactly makes your application crash?
Does it crash with the empty slot?
and there is no reason to allocate myDialog on the heap:
Bookmarks