Another fix for the modals