- Updated the modal's close logic to call `readyToClose()` before proceeding with the close action, ensuring that the animation state is properly managed. - This change enhances the user experience by preventing premature closure of the modal during animations. Signed-off-by: Innei <tukon479@gmail.com>