fixing modal styles on firefox