Fix #3923: GroupDialog Notebook is referenced by two different wxSizerItems at the same time