fix bugs where comments don't auto render and modal blackout div doesn't disappear