Get rid of the nested parentWidget() calls inside the ResizableFrame class in favor of passing a reference to the Dialog class when the signal for a newly created area is emitted.