FB-14497: Fixed modals in main page.