Moving the dialog to be a child of the body when shown