small changes in modals' styling: removed absolute positioning; modals look good until there is a lot of text within
javascript logic for calculating hight