syncFloatedState in Widget.js (modern) only calls findFloatParent if the widget has not been rendered. If the widget has been rendered and has it's float state changed to true, the showModalMask function will break due to there being no floatParentNode set on the widget.