HEre's how you do it.
Keep the original door. Hopefully it swings out, if not it will just require more space. IF it swings in , leave enough space for the door to swing into the closet, then create a plastic door with plastic or trash bags or something more sturdy like some of the...