Fix modal that was persisting by using correct @wordpress/components Modal API: - Use 'open' instead of 'isOpen' prop - Use 'onRequestClose' instead of 'onClose' - Add 'isDismissible' to allow closing with ESC/outside click - Add 'focusOnMount' for accessibility - Add deprecation warning props for TextControl (__next40pxDefaultSize, __nextHasNoMarginBottom) Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
10 KiB
10 KiB