[#32081] Doing same fix in modal.php also.