fixes mobile modal buttons