Fix 526 issue for the modal example