Fix for modal