fixing modal issue with height not being correct