modalbox fixes