crappy solution to stupid horrible modal